CVE-2025-46397: xfig · Buffer Copy without Checking Size of Input
Affects xfigSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 2 Nov 2026, 02:43 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 7.8 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| xfig | Affected
| Fixed in– |
AI-suggested
A security update is available from Red Hat as detailed in advisory RHSA-2026:0700. Users should apply the updated transfig package (e.g., transfig-3.2.7b-11.el9_7) provided for Red Hat Enterprise Linux 9 and related distributions to remediate this vulnerability. No additional mitigation steps are required beyond applying the official patch.
Description
CVE-2025-46397 is a high-severity vulnerability in xfig caused by a buffer copy operation without checking the size of input in the bezier_spline function. This flaw can lead to a stack overflow, potentially allowing local code execution through manipulated input. The vulnerability affects the xfig utility used for creating FIG or PIC figures and translating them into LaTeX graphics languages. A security update addressing this issue is available from Red Hat as part of the transfig package update.
References
- access.redhat.com/errata/RHSA-2026:0700 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:0704 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:0705 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:0756 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-46397 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2362058 (opens in a new tab)
- sourceforge.net/p/mcj/tickets/192/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/04/msg00043.html (opens in a new tab)