7.8
HIGH CVSS 3.1
CVE-2025-46397
Xfig: xfig: stack-overflow allows possible code execution via local input manipulation
Description

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

INFO

Published Date :

April 23, 2025, 9:15 p.m.

Last Modified :

June 30, 2026, 5:17 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-46397 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux
3 Redhat in-vehicle_operating_system
1 Gnu emacs
2 Gnu grub2
1 Fig2dev_project fig2dev
1 Libssh libssh
1 Xfig xfig
1 Gitoxidelabs gix-date
1 Ubuntu libefiboot
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update the xfig diagramming tool to patch the stack overflow vulnerability in fig2dev.
  • Update the xfig diagramming tool to the latest version.
  • Apply vendor-provided patches for fig2dev.
  • Avoid processing untrusted input with fig2dev.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-46397 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-46397 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-46397 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jun. 30, 2026

    Action Type Old Value New Value
    Changed Affected [{'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.2.9a'}], 'packageName': 'xfig', 'collectionURL': 'https://sourceforge.net/projects/mcj/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'versions': [{'status': 'unaffected', 'version': '1:3.2.6a-5.el8_10', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-11.el9_7', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.4 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_4.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.6 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_6.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:rhivos:1'], 'vendor': 'Red Hat', 'product': 'Red Hat In-Vehicle Operating System 1', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}] [{'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.2.9a'}], 'packageName': 'xfig', 'collectionURL': 'https://sourceforge.net/projects/mcj/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'versions': [{'status': 'unaffected', 'version': '1:3.2.6a-5.el8_10', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-11.el9_7', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.4 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_4.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.6 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_6.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}]
  • CVE Modified by [email protected]

    Jun. 25, 2026

    Action Type Old Value New Value
    Changed Affected [{'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.2.9a'}], 'packageName': 'xfig', 'collectionURL': 'https://sourceforge.net/projects/mcj/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'versions': [{'status': 'unaffected', 'version': '1:3.2.6a-5.el8_10', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-11.el9_7', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.4 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_4.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.6 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_6.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}] [{'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.2.9a'}], 'packageName': 'xfig', 'collectionURL': 'https://sourceforge.net/projects/mcj/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'versions': [{'status': 'unaffected', 'version': '1:3.2.6a-5.el8_10', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-11.el9_7', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.4 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_4.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.6 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_6.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:rhivos:1'], 'vendor': 'Red Hat', 'product': 'Red Hat In-Vehicle Operating System 1', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}]
  • CVE Modified by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.2.9a'}], 'packageName': 'xfig', 'collectionURL': 'https://sourceforge.net/projects/mcj/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'versions': [{'status': 'unaffected', 'version': '1:3.2.6a-5.el8_10', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-11.el9_7', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.4 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_4.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9.6 Extended Update Support', 'versions': [{'status': 'unaffected', 'version': '1:3.2.7b-10.el9_6.1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'packageName': 'transfig', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unknown'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2025-46397', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-05-23T18:27:20.844727Z'}
  • CVE Modified by [email protected]

    Jan. 19, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:0756
  • CVE Modified by [email protected]

    Jan. 15, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:0704
  • CVE Modified by [email protected]

    Jan. 15, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:0705
  • CVE Modified by [email protected]

    Jan. 15, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:0700
  • CVE Modified by [email protected]

    Nov. 21, 2025

    Action Type Old Value New Value
    Changed Description In xfig diagramming tool, a stack-overflow while running fig2dev allows memory corruption via local input manipulation at the bezier_spline function. A flaw was found in xfig. This vulnerability allows possible code execution via local input manipulation via bezier_spline function.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
    Added CWE CWE-120
    Removed CWE CWE-121
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 03, 2025

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2025/04/msg00043.html
  • Initial Analysis by [email protected]

    Oct. 21, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:a:fig2dev_project:fig2dev:3.2.9a:*:*:*:*:*:*:*
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2025-46397 Types: Vendor Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2362058 Types: Vendor Advisory
    Added Reference Type Red Hat, Inc.: https://sourceforge.net/p/mcj/tickets/192/ Types: Exploit, Issue Tracking
  • CVE Modified by [email protected]

    May. 15, 2025

    Action Type Old Value New Value
    Changed Description Rejected reason: Red Hat Product Security has come to the conclusion that this CVE is not needed. In xfig diagramming tool, a stack-overflow while running fig2dev allows memory corruption via local input manipulation at the bezier_spline function.
    Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
    Added CWE CWE-121
    Added Reference https://access.redhat.com/security/cve/CVE-2025-46397
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2362058
    Added Reference https://sourceforge.net/p/mcj/tickets/192/
  • CVE Unrejected by [email protected]

    May. 15, 2025

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 30, 2025

    Action Type Old Value New Value
    Changed Description Stack-overflow in fig2dev in version 3.2.9a allows an attacker possible code execution via local input manipulation via bezier_spline function. Rejected reason: Red Hat Product Security has come to the conclusion that this CVE is not needed.
    Removed CVSS V3.1 Red Hat, Inc.: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
    Removed CWE Red Hat, Inc.: CWE-121
    Removed Reference Red Hat, Inc.: https://sourceforge.net/p/mcj/tickets/192/
  • CVE Rejected by [email protected]

    Apr. 30, 2025

    Action Type Old Value New Value
  • New CVE Received by [email protected]

    Apr. 23, 2025

    Action Type Old Value New Value
    Added Description Stack-overflow in fig2dev in version 3.2.9a allows an attacker possible code execution via local input manipulation via bezier_spline function.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
    Added CWE CWE-121
    Added Reference https://sourceforge.net/p/mcj/tickets/192/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.