Advisory Details

February 5th, 2025

Mintty Sixel Image Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-084
ZDI-CAN-23382

CVE ID CVE-2025-1052
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Mintty
AFFECTED PRODUCTS Mintty
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS

Fixed in Version 3.7.5
https://github.com/mintty/mintty/commit/c78ee1085f438333d5be4e3688e5d6b890c146c4


DISCLOSURE TIMELINE
  • 2024-08-30 - Vulnerability reported to vendor
  • 2025-02-05 - Coordinated public release of advisory
  • 2025-02-05 - Advisory Updated
CREDIT solid-snail
BACK TO ADVISORIES