Vulnerability · Published Apr 23, 2025 · Assigned by redhat

CVE-2025-46398Xfig: fig2dev stack-overflow via read_objects

Medium 5.5

In plain English

A medium-severity stack buffer overflow in xfig. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 80.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In xfig diagramming tool, a stack-overflow while running fig2dev allows memory corruption via local input manipulation via read_objects function.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23fig2dev3.2.9a-r2ALPINE-CVE-2025-46398
Alpine:v3.24fig2dev3.2.9a-r3ALPINE-CVE-2025-46398
Debian:12fig2dev1:3.2.8b-3+deb12u2DEBIAN-CVE-2025-46398
Debian:13fig2dev1:3.2.9a-4DEBIAN-CVE-2025-46398
Debian:14fig2dev1:3.2.9a-4DEBIAN-CVE-2025-46398

Affected products (as reported)

VendorProductVersions
xfig 0 – through 3.2.9a
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References