Description
An issue was discovered in Anti-Grain Geometry (AGG) 2.4 as used in SVG++ (aka svgpp) 1.2.3. In the function agg::cell_aa::not_equal, dx is assigned to (x2 - x1). If dx >= dx_limit, which is (16384 << poly_subpixel_shift), this function will call itself recursively. There can be a situation where (x2 - x1) is always bigger than dx_limit during the recursion, leading to continual stack consumption.
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 | agg | 1:2.4-r127+dfsg1-1 | — |
| Debian 14 | svgpp | No fix yet | — |
| Debian 13 | agg | 1:2.4-r127+dfsg1-1 | — |
| Debian 13 | svgpp | No fix yet | — |
| Debian 12 | agg | 1:2.4-r127+dfsg1-1 | — |
| Debian 12 | svgpp | No fix yet | — |
| Debian 10 | svgpp | 1.2.3+dfsg1-6+deb10u1 | DLA-3376-1 |
| Debian 9 | agg | 2.5+dfsg1-11+deb9u1 | DLA-2872-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | agg | 2.5+dfsg1-9+deb8u1 | DLA-1656-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | agg | 2.5+dfsg1-9+deb8u1build0.16.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | svgpp | No fix yet | — |
Advisories 3
- DLA-2872-1 agg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3376-1 svgpp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1656-1 agg - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20190201 [SECURITY] [DLA 1656-1] agg security update mailing-list
- https://github.com/svgpp/svgpp/issues/70
- [debian-lts-announce] 20211230 [SECURITY] [DLA 2872-1] agg security update mailing-list
- [debian-lts-announce] 20230401 [SECURITY] [DLA 3376-1] svgpp security update mailing-list