Skip to main content
VulnerabilityPublished Updated

CVE-2025-31164: xfig fig2dev · Heap-based Buffer Overflow

Affects xfig fig2devSource CVE Database V5

0

Not known to be exploited · CVSS 6.6 Medium.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
6.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Debiandebian/fig2devpkg:deb/debian/fig2devOther threatsAffected
  • =3.2.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Monitor official xfig and fig2dev repositories and security advisories for patches addressing CVE-2025-31164 and apply updates promptly once available. 2. Until patches are released, restrict local access to systems running fig2dev 3.2.9a to trusted users only, minimizing the risk of malicious input. 3. Implement application whitelisting and privilege restrictions to prevent unauthorized execution or manipulation of fig2dev processes. 4. Employ runtime memory protection mechanisms such as Address Space Layout Randomization (ASLR) and heap protection features to reduce exploitation success. 5. Conduct input validation and sanitization where possible in workflows that generate fig files or invoke fig2dev to limit malformed input. 6. Monitor system logs and application behavior for crashes or anomalies related to fig2dev usage to detect potential exploitation attempts early. 7. Consider isolating fig2dev execution in sandboxed or containerized environments to contain potential impacts. 8. Educate local users about the risks of running untrusted fig files or scripts that interact with fig2dev.

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.

References

Community reviews

Loading reviews…