Vulnerability · Published Apr 23, 2025 · Assigned by redhat

CVE-2025-46397Xfig: xfig: stack-overflow allows possible code execution via local input manipulation

High 7.8

In plain English

A high-severity 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 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

A flaw was found in xfig. This vulnerability allows possible code execution via local input manipulation via bezier_spline function.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8transfig1:3.2.6a-5.el8_10ALSA-2026:0756
AlmaLinux:9transfig1:3.2.7b-11.el9_7ALSA-2026:0700
Alpine:v3.23fig2dev3.2.9a-r2ALPINE-CVE-2025-46397
Alpine:v3.24fig2dev3.2.9a-r3ALPINE-CVE-2025-46397
Debian:12fig2dev1:3.2.8b-3+deb12u2DEBIAN-CVE-2025-46397
Debian:13fig2dev1:3.2.9a-4DEBIAN-CVE-2025-46397
Debian:14fig2dev1:3.2.9a-4DEBIAN-CVE-2025-46397
Rocky Linux:8transfig1:3.2.6a-5.el8_10RLSA-2026:0756
Rocky Linux:9transfig1:3.2.7b-11.el9_7RLSA-2026:0700

Affected products (as reported)

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

References