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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | transfig | 1:3.2.6a-5.el8_10 | ALSA-2026:0756 |
| AlmaLinux:9 | transfig | 1:3.2.7b-11.el9_7 | ALSA-2026:0700 |
| Alpine:v3.23 | fig2dev | 3.2.9a-r2 | ALPINE-CVE-2025-46397 |
| Alpine:v3.24 | fig2dev | 3.2.9a-r3 | ALPINE-CVE-2025-46397 |
| Debian:12 | fig2dev | 1:3.2.8b-3+deb12u2 | DEBIAN-CVE-2025-46397 |
| Debian:13 | fig2dev | 1:3.2.9a-4 | DEBIAN-CVE-2025-46397 |
| Debian:14 | fig2dev | 1:3.2.9a-4 | DEBIAN-CVE-2025-46397 |
| Rocky Linux:8 | transfig | 1:3.2.6a-5.el8_10 | RLSA-2026:0756 |
| Rocky Linux:9 | transfig | 1:3.2.7b-11.el9_7 | RLSA-2026:0700 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xfig | 0 – through 3.2.9a | |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | see references |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2026:0700 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0704 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0705 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0756 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-46397 vdb-entry, x_refsource_REDHAT
- RHBZ#2362058 issue-tracking, x_refsource_REDHAT
- https://sourceforge.net/p/mcj/tickets/192/
- https://lists.debian.org/debian-lts-announce/2025/04/msg00043.html