Code execution via unchecked sixel pixel offsets
Published Feb 11, 2025 · Updated Feb 12, 2025
Heap-based buffer overflow in Mintty 3.7.1 allows remote attackers to execute code via a crafted sixel image. The sixel_parser_parse function derives pixel offsets from image dimensions, cursor position, and repeat count, then writes color indexes to image->data without verifying that each offset remains within the allocated buffer. Exploitation requires the current user to visit a malicious page or open a malicious file, and successful code runs in that user's context.
Summary
What happened
Heap-based buffer overflow in Mintty 3.7.1 allows remote attackers to execute code via a crafted sixel image. The sixel_parser_parse function derives pixel offsets from image dimensions, cursor position, and repeat count, then writes color indexes to image->data without verifying that each offset remains within the allocated buffer. Exploitation requires the current user to visit a malicious page or open a malicious file, and successful code runs in that user's context.
The record
- CVE
- CVE-2025-1052
- Published
- Feb 11, 2025
- Updated
- Feb 12, 2025
- Vendor
- Mintty
- Product
- Mintty
- Classifications
- CWE-122, CWE-787, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 11, 2025CVE publishedPublication date reported by the CVE source.
- Feb 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.7.1 (Git-2.45.1-64-bit.exe)
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo