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

Exp

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

Published: 2025-04-23 Last update: 2026-01-19 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-46397 is rated Exploit Available (52.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.06%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-46397

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-46397

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-21 0.05% 0.06% +0.01%
2 2026-02-18 0.05% 0.05% -0.01%
3 2026-01-22 0.05%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-46397

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]

Weakness enumeration for CVE-2025-46397

OS Trackers for CVE-2025-46397

vendor priority summary link
alpine CVE-2025-46397: 1 source package rows (fig2dev); 4 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 0, open 4. https://security.alpinelinux.org/vuln/CVE-2025-46397
debian unimportant CVE-2025-46397 unimportant priority: Debian including 1 source packages (fig2dev), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-46397
redhat medium https://access.redhat.com/security/cve/CVE-2025-46397
suse medium CVE-2025-46397 severity moderate: SUSE including 5 source package names (transfig-3.2.6a-5.el8_10, transfig-3.2.7b-11.el9_7, transfig-3.2.8b-2.26.1, transfig-3.2.9a-150600.3.5.1, transfig-3.2.9a-3.1), 10 product×package rows across 10 product lines (SUSE Liberty Linux 8, SUSE Liberty Linux 9, … (10 product lines)): Fixed 10. https://www.suse.com/security/cve/CVE-2025-46397/
ubuntu medium CVE-2025-46397 medium priority: Ubuntu including 1 source packages (fig2dev), 7 status rows across 7 suites (bionic, focal, jammy, noble, oracular, plucky, upstream): not-affected 6, needs-triage 1. https://ubuntu.com/security/CVE-2025-46397

Affected software / configurations for CVE-2025-46397

Vendor Product Version Raw CPE
fig2dev_project fig2dev 3.2.9a cpe:2.3:a:fig2dev_project:fig2dev:3.2.9a:*:*:*:*:*:*:*
redhat enterprise_linux 6.0 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

References for CVE-2025-46397

cvelogic Threat Intelligence