CVE-2025-31164 fig2dev heap-buffer overflow

Medium 6.6 Published Updated

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.

Sources

Also known as DEBIAN-CVE-2025-31164, GHSA-p47h-x29h-rvvm, UBUNTU-CVE-2025-31164.

Is CVE-2025-31164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free