CVE-2025-31162 fig2dev float point exception
A floating point exception in fig2dev allows local attackers to cause a denial of service via manipulated 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-31162?
CVE-2025-31162 is a medium-severity denial of service 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
Floating point exception in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation via get_slope function.
Weakness: CWE-369
Which versions are affected by CVE-2025-31162?
It affects 1 product.
Products include Fig2dev Project Fig2dev.
How do I fix CVE-2025-31162?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-31162 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-31162 exists.
Other vulnerabilities in xfig fig2dev
- CVE-2025-46397 Xfig: xfig: stack-overflow allows possible code execution via local input manipulation
- CVE-2025-31163 fig2dev segmentation fault
- CVE-2025-31164 fig2dev heap-buffer overflow
- 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-31162, GHSA-2c99-hrrc-j3vh, UBUNTU-CVE-2025-31162.