Heap-based buffer overflow in fig2dev - CVE-2025-31164

 

Heap-based buffer overflow in fig2dev - CVE-2025-31164

Published: April 4, 2025


Vulnerability identifier: #VU106981
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-31164
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mcj
Affected software:
fig2dev

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the create_line_with_spline() function. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-31164

Install updates from vendor's website.

Sources