Description
An issue was discovered in Anti-Grain Geometry (AGG) 2.4 as used in SVG++ (aka svgpp) 1.2.3. A heap-based buffer overflow bug in svgpp_agg_render may lead to code execution. In the render_scanlines_aa_solid function, the blend_hline function is called repeatedly multiple times. blend_hline is equivalent to a loop containing write operations. Each call writes a piece of heap data, and multiple calls overwrite the data in the heap.
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 | svgpp | No fix yet | — |
| Debian 13 | svgpp | No fix yet | — |
| Debian 12 | svgpp | No fix yet | — |
| Debian 10 | svgpp | 1.2.3+dfsg1-6+deb10u1 | DLA-3376-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | svgpp | No fix yet | — |
Advisories 1
- DLA-3376-1 svgpp - security update Debian Security (DSA / DLA) · Mar 9, 2026