CVEfocus › CVE database › CVE-2025-46397

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

CVSS 7.8 HighEPSS 0.3% (higher than 23% of CVEs)Published 2025-04-23Updated 2026-11-05Assigner: redhat

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

CWE-120

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14fig2devFixed1:3.2.9a-4DEBIAN-CVE-2025-46397
Debian 13fig2devFixed1:3.2.9a-4DEBIAN-CVE-2025-46397
Debian 12fig2devFixed1:3.2.8b-3+deb12u2DEBIAN-CVE-2025-46397
Red Hat Enterprise Linux 9transfigFixed1:3.2.7b-11.el9_7RHSA-2026:0700
Red Hat Enterprise Linux 8transfigFixed1:3.2.6a-5.el8_10RHSA-2026:0756
Red Hat Enterprise Linux 7transfigWill not fix
Out of support scope
Red Hat Enterprise Linux 6transfigWill not fix
Out of support scope
AlmaLinux 9transfigFixed1:3.2.7b-11.el9_7ALSA-2026:0700
AlmaLinux 8transfigFixed1:3.2.6a-5.el8_10ALSA-2026:0756
Rocky Linux 9transfigFixed1:3.2.7b-11.el9_7RLSA-2026:0700
Rocky Linux 8transfigFixed1:3.2.6a-5.el8_10RLSA-2026:0756
Alpine Linux 3.24fig2devFixed3.2.9a-r3ALPINE-CVE-2025-46397
Alpine Linux 3.23fig2devFixed3.2.9a-r2ALPINE-CVE-2025-46397

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.