CVE-2025-31164 fig2dev heap-buffer overflow
A heap-buffer overflow in fig2dev allows local attackers to cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-31164?
CVE-2025-31164 is a medium-severity memory corruption vulnerability in xfig fig2dev, published on 28 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
heap-buffer overflow in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation via create_line_with_spline.
Weakness: CWE-122
Which versions are affected by CVE-2025-31164?
It affects 1 product.
Products include Fig2dev Project Fig2dev.
How do I fix CVE-2025-31164?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-31164 being exploited?
There is no known exploitation of CVE-2025-31164 in the wild and no public exploit code.
Other vulnerabilities in xfig fig2dev
- CVE-2025-46397 Xfig: xfig: stack-overflow allows possible code execution via local input manipulation
- CVE-2025-31162 fig2dev float point exception
- CVE-2025-31163 fig2dev segmentation fault
- CVE-2025-46398 Xfig: fig2dev stack-overflow via read_objects
- CVE-2025-46399 Xfig: transfig: fig2dev segmentation fault vulnerability
Sources
Also known as DEBIAN-CVE-2025-31164, GHSA-p47h-x29h-rvvm, UBUNTU-CVE-2025-31164.