Critical Stack Overflow Vulnerability in fig2dev Package

fig2dev Updated 03 Oct 2025

Summary

23/04/2025
N/A
No i
High
7.1

UBUNTU-CVE-2025-46398: Stack-overflow in fig2dev in version 3.2.9a allows an attacker possible code execution via local input manipulation via read_objects function. Affects fig2dev versions 1:3.2.6a-3 – 1:3.2.6a-6ubuntu1.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

fig2dev is a utility that converts figures from various formats into device-independent formats for use in LaTeX and other typesetting systems. It is widely used in academic and scientific communities for its ability to handle complex graphics. However, recent findings have revealed a critical stack overflow vulnerability that could allow attackers to execute arbitrary code through local input manipulation.

Vulnerability Detail

The vulnerability, identified as CVE-2025-46398, originates from a stack overflow in the read_objects function of fig2dev version 3.2.9a. This flaw allows an attacker to manipulate local input, potentially leading to code execution. The severity of this vulnerability is underscored by its CVSS score of 7.1, indicating a high risk to systems using affected versions of the package. If exploited, this vulnerability could compromise system integrity and confidentiality.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can limit the access of the fig2dev application to untrusted inputs or run it in a controlled environment to mitigate the risk of exploitation until the package is updated.

Conclusion

The stack overflow vulnerability in the fig2dev package poses a significant risk to users, allowing potential code execution through local input manipulation. It is crucial for users to update to the latest patched version to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for fig2dev →

Share this vulnerability

FAQ

CVE-2025-46398 is a critical stack overflow vulnerability in the fig2dev package that allows for potential code execution through local input manipulation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 7.1, indicating a high severity level.

If an immediate update is not possible, consider limiting access to the application or running it in a controlled environment to reduce the risk of exploitation.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using just a manifest file. More information can be found at https://vulert.com.

Related vulnerabilities

Recent vulnerabilities recorded for fig2dev.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback