Skip to content
Fencer Intel
high 7.8

CVE-2025-46397 json

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

published last yr. modified 4d ago also EUVD-2025-12159

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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

Patch / fix

  • Red Hat Red Hat Enterprise Linux 8 1:3.2.6a-5.el8_10
  • Red Hat Red Hat Enterprise Linux 9 1:3.2.7b-11.el9_7
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 1:3.2.7b-10.el9_4.1
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 1:3.2.7b-10.el9_6.1
  • fig2dev Debian 12 1:3.2.8b-3+deb12u2
  • fig2dev Debian 14, Debian 13 1:3.2.9a-4

debian advisories DEBIAN-CVE-2025-46397

  • transfig RHEL 8 1:3.2.6a-5.el8_10
  • transfig RHEL 9 1:3.2.7b-11.el9_7
  • transfig RHEL 9.4 EUS 1:3.2.7b-10.el9_4.1
  • transfig RHEL 9.6 EUS 1:3.2.7b-10.el9_6.1

red hat advisories RHSA-2026:0756RHSA-2026:0705RHSA-2026:0704RHSA-2026:0700

  • transfig SLE Workstation Extension 15 SP7, SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP7 +2 more 3.2.9a-150600.3.5.1
  • transfig SLES LTSS Extended Security 12 SP5 3.2.8b-2.26.1

suse advisories SUSE-SU-2025:01835-2SUSE-SU-2025:01890-1SUSE-SU-2025:01835-1

  • transfig openSUSE Tumbleweed 3.2.9a-3.1

opensuse advisories openSUSE-SU-2025:15155-1

  • transfig AlmaLinux 8 1:3.2.6a-5.el8_10
  • transfig AlmaLinux 9 1:3.2.7b-11.el9_7

almalinux advisories ALSA-2026:0756ALSA-2026:0700

  • transfig Rocky Linux 8 1:3.2.6a-5.el8_10
  • transfig Rocky Linux 9 1:3.2.7b-11.el9_7

rocky linux advisories RLSA-2026:0756RLSA-2026:0700

  • fig2dev Alpine 3.23 3.2.9a-r2
  • fig2dev Alpine 3.24 3.2.9a-r3

alpine advisories ALPINE-CVE-2025-46397

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2025-46397 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-46397 updated cvss 7.8

xfig: xfig: Stack-overflow allows possible code execution via local input manipulation

  • Red Hat Enterprise Linux 6 transfig Red Hat Enterprise Linux 7 transfig
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder EUS (v.9.4) transfig 3.2.7b-10.el9_4.1
    fixed: vendor fix RHSA-2026:0705
  • Red Hat CodeReady Linux Builder EUS (v.9.6) transfig 3.2.7b-10.el9_6.1
    fixed: vendor fix RHSA-2026:0704
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) transfig 3.2.7b-11.el9_7
    fixed: vendor fix RHSA-2026:0700
  • Red Hat Enterprise Linux CRB (v. 8) transfig 3.2.6a-5.el8_10
    fixed: vendor fix RHSA-2026:0756

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/mcj/tickets/192/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • sourceforge.net xfig
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.