Description
Buffer overflow in the SVG importer (style.cpp) of inkscape 0.41 through 0.42.2 might allow remote attackers to execute arbitrary code via a SVG file with long CSS style property values.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Inkscape 0.41/0.42 - '.SVG' Image Buffer Overflow EDB-26540 · remote · Nov 21, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- DSA-916-1 inkscape - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-24-1 inkscape - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-200511-22 vendor-advisory
- SUSE-SR:2005:028 vendor-advisory
- 17778 third-party-advisory
- 17651 third-party-advisory
- USN-217-1 vendor-advisory
- 15507 vdb-entry
- 17882 third-party-advisory
- http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/src/style.cpp?r1=1.110&r2=1.110.2.1
- ADV-2005-2511 vdb-entry
- DSA-916 vendor-advisory
- 58 third-party-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330894
- 17662 third-party-advisory