VYPR
Unrated severityNVD Advisory· Published Mar 28, 2025· Updated Nov 3, 2025

fig2dev segmentation fault

CVE-2025-31163

Description

A segmentation fault in fig2dev 3.2.9a's put_patternarc function lets a local attacker crash the application via a crafted FIG file.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A segmentation fault in fig2dev 3.2.9a's put_patternarc function lets a local attacker crash the application via a crafted FIG file.

Vulnerability

A segmentation fault (SEGV) exists in fig2dev version 3.2.9a. The flaw is triggered in the put_patternarc function within genpict2e.c (line 2306) when processing a specially crafted FIG file. The crash is caused by a NULL pointer dereference, as shown by AddressSanitizer reporting a read access to address 0x0. This occurs during the conversion of arc objects by the genpict2e_arc handler when the tool is invoked with the -L pict2e output option.

Exploitation

An attacker with local access can craft a malicious FIG file that, when processed by fig2dev -L pict2e, triggers the crash. No special privileges or authentication beyond the ability to supply a FIG file to the utility are required. The user must run fig2dev on the malicious file. No race condition or further exploitation steps are needed.

Impact

Successful exploitation causes a denial of service (availability impact) by crashing the fig2dev process. According to the source, the vulnerability is classified as allowing an attacker to affect availability via local input manipulation. No code execution or data corruption is indicated.

Mitigation

As of the publication date (March 28, 2025), no patched version has been released. Users are advised to monitor the project's issue tracker [1] for updates. In the interim, avoid running fig2dev on untrusted FIG files, particularly with the -L pict2e output format, or consider using an alternative tool. The vulnerability is not known to be listed in CISA's Known Exploited Vulnerabilities catalog.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

9

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.