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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-23T20:55:09.795Z
- Modified: 2026-11-05T16:17:15.600Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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

(As written by CVE List.)

## Affected

- xfig: up to 3.2.9a
- transfig: no versions given (not affected: from 1:3.2.6a-5.el8_10 before *; from 1:3.2.7b-11.el9_7 before *; from 1:3.2.7b-10.el9_4.1 before *; from 1:3.2.7b-10.el9_6.1 before *)
- fig2dev_project fig2dev: 3.2.9a
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://sourceforge.net/p/mcj/tickets/192/> (exploit, issue-tracking)
- <https://access.redhat.com/errata/RHSA-2026:0700> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0704> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0705> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0756> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-46397> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2362058> (issue-tracking, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00043.html>

## Sources

- CVE List: [CVE-2025-46397](https://www.cve.org/CVERecord?id=CVE-2025-46397), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-46397](https://nvd.nist.gov/vuln/detail/CVE-2025-46397), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-46397 · Whole record: https://cve.day/CVE-2025-46397.json · Rebuilt by cve.day 2026-11-25T22:58:56.870Z
