| Name | CVE-2025-46397 | 
| Description | In xfig diagramming tool, a stack-overflow while running fig2dev allows memory corruption via local input manipulation at the bezier_spline function. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-4147-1 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| fig2dev (PTS) | bullseye | 1:3.2.8-3+deb11u1 | vulnerable | 
|  | bullseye (security) | 1:3.2.8-3+deb11u3 | fixed | 
|  | bookworm | 1:3.2.8b-3+deb12u2 | fixed | 
|  | forky, sid, trixie | 1:3.2.9a-4 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| fig2dev | source | bullseye | 1:3.2.8-3+deb11u3 |  | DLA-4147-1 |  | 
| fig2dev | source | bookworm | 1:3.2.8b-3+deb12u2 |  |  |  | 
| fig2dev | source | (unstable) | 1:3.2.9a-4 | unimportant |  |  | 
Notes
https://sourceforge.net/p/mcj/tickets/192/
Fixed by: https://sourceforge.net/p/mcj/fig2dev/ci/dfa8b661b506a463a669754ed635b0a8eb67580e/
Crash in CLI tool, no security impact