CVE-2025-46398
MediumCVSS 5.5Exploitation Probability (EPSS)
Low risk12th percentile - higher than 12% of all known CVEs
Summary
In the xfig diagramming tool, a stack overflow while running fig2dev allows memory corruption via local input manipulation in the read_objects function.
Risk Assessment
A local attacker could exploit this vulnerability to corrupt memory, potentially leading to unexpected behavior or arbitrary code execution in the context of the user running fig2dev.
Recommendation
It is recommended to update xfig to the latest patched version and avoid processing untrusted fig files in production environments.
Other vulnerabilities in xfig
See all- CVE-2017-16899High
An array index error in the fig2dev program in Xfig 3.2.6a allows remote attackers to cause a denial-of-service attack or information disclosure with a maliciously crafted Fig format file.
- CVE-2025-46400Medium
In the xfig diagramming tool, a segmentation fault occurs in fig2dev within the read_arcobject function, allowing an attacker to cause a denial of service via local input manipulation.
- CVE-2025-46397High
A flaw was found in xfig that allows potential code execution via local input manipulation in the bezier_spline function.
Original NVD description (English source)
In xfig diagramming tool, a stack-overflow while running fig2dev allows memory corruption via local input manipulation via read_objects function.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

