Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-31162: CWE-369 in xfig fig2dev

0
Medium
VulnerabilityCVE-2025-31162cvecve-2025-31162cwe-369
Published: Fri Mar 28 2025 (03/28/2025, 18:01:31 UTC)
Source: CVE Database V5
Vendor/Project: xfig
Product: fig2dev

Description

Floating point exception in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation via get_slope function.

AI-Powered Analysis

AILast updated: 11/03/2025, 21:19:00 UTC

Technical Analysis

CVE-2025-31162 is a vulnerability identified in the fig2dev utility, part of the xfig suite, version 3.2.9a. The root cause is a floating point exception triggered within the get_slope function when processing certain local input data. This vulnerability falls under CWE-369 (Divide By Zero), indicating that improper handling of numerical input leads to an exception that can crash the application. Exploitation requires local access with low privileges and does not require user interaction, making it a local denial of service (DoS) vector. The vulnerability impacts availability by causing the fig2dev process to terminate unexpectedly, potentially disrupting workflows that depend on this tool for converting fig files to other graphical formats. The CVSS v3.1 score of 6.6 reflects a medium severity, with attack vector local (AV:L), attack complexity low (AC:L), privileges required low (PR:L), no user interaction (UI:N), unchanged scope (S:U), and impacts on confidentiality (C:L), integrity (I:L), and availability (A:H). No public exploits or patches are currently available, but the vulnerability is published and recognized by the CVE database. Given fig2dev's niche usage primarily in Unix-like environments for graphical file conversion, the attack surface is limited to local users with access to the system running the vulnerable version.

Potential Impact

For European organizations, the primary impact of CVE-2025-31162 is the potential for local denial of service on systems running fig2dev 3.2.9a. This can disrupt workflows in academic institutions, research labs, engineering firms, and any organizations relying on xfig for graphical file conversions. While the vulnerability does not allow remote exploitation or privilege escalation, it can be leveraged by malicious insiders or compromised local accounts to cause service interruptions. This may lead to productivity loss, delays in project deliverables, and potential cascading effects if fig2dev is part of automated pipelines. Confidentiality and integrity impacts are low, but availability impact is high for affected systems. The limited attack vector reduces the overall risk but does not eliminate it, especially in environments with multiple users or shared workstations. Organizations with strict uptime requirements or those using fig2dev in critical processes should prioritize mitigation.

Mitigation Recommendations

Since no official patch is currently available, organizations should implement the following mitigations: 1) Restrict local access to systems running fig2dev 3.2.9a to trusted users only, minimizing the risk of malicious input. 2) Employ input validation or sanitization wrappers around fig2dev invocations to detect and prevent malformed input that could trigger the floating point exception. 3) Monitor system logs and application behavior for crashes related to fig2dev and investigate any anomalies promptly. 4) Consider isolating fig2dev usage in sandboxed or containerized environments to limit impact scope. 5) Stay alert for vendor updates or patches and apply them immediately upon release. 6) Educate local users about the risks of running untrusted input through fig2dev. 7) If feasible, replace fig2dev with alternative tools that do not have this vulnerability until a fix is available.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat-cnalr
Date Reserved
2025-03-27T02:44:50.787Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69091549c28fd46ded7bb74e

Added to database: 11/3/2025, 8:49:13 PM

Last enriched: 11/3/2025, 9:19:00 PM

Last updated: 11/5/2025, 6:28:13 AM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats