CVE-2025-1052 Mintty Sixel Image Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code via a heap-based buffer overflow in Mintty's sixel image parser, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-1052?
CVE-2025-1052 is a high-severity memory corruption vulnerability in Mintty, published on 11 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Mintty Sixel Image Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Mintty. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of sixel images. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-23382.
Which versions are affected by CVE-2025-1052?
It affects 1 product.
Products include Mintty Project Mintty.
How do I fix CVE-2025-1052?
No fix has been published for CVE-2025-1052 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-1052 being exploited?
There is no known exploitation of CVE-2025-1052 in the wild and no public exploit code.
Other vulnerabilities in Mintty
Sources
Also known as GHSA-2rq4-xq7w-xw4p.