Description
The _rsvg_node_poly_build_path function in rsvg-shapes.c in librsvg before 2.40.7 allows context-dependent attackers to cause a denial of service (out-of-bounds heap read) via an odd number of elements in a coordinate pair in an SVG document.
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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | librsvg | 2.40.9-2 | — |
| Debian 13 | librsvg | 2.40.9-2 | — |
| Debian 12 | librsvg | 2.40.9-2 | — |
| Debian 6.0 | librsvg | 2.26.3-1+deb6u3 | DLA-395-1 |
Advisories 1
- DLA-395-1 librsvg - security update Debian Security (DSA / DLA) · Mar 9, 2026