| Name | CVE-2019-6245 | 
| 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. | 
| 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-1656-1, DLA-2872-1, DLA-3376-1 | 
| Debian Bugs | 919321, 919322 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| agg (PTS) | bookworm, bullseye | 1:2.6.1-r134+dfsg1-2 | fixed | 
| forky, sid, trixie | 1:2.7.0.r145+dfsg-2 | fixed | |
| svgpp (PTS) | bullseye | 1.3.0+dfsg1-4 | vulnerable | 
| bullseye (security) | 1.3.0+dfsg1-4+deb11u1 | vulnerable | |
| bookworm, trixie | 1.3.0+dfsg1-6 | vulnerable | |
| forky, sid | 1.3.1+dfsg1-1 | vulnerable | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| agg | source | jessie | 2.5+dfsg1-9+deb8u1 | DLA-1656-1 | ||
| agg | source | stretch | 2.5+dfsg1-11+deb9u1 | DLA-2872-1 | ||
| agg | source | (unstable) | 1:2.4-r127+dfsg1-1 | low | 919322 | |
| svgpp | source | buster | 1.2.3+dfsg1-6+deb10u1 | DLA-3376-1 | ||
| svgpp | source | (unstable) | (unfixed) | unimportant | 919321 | 
https://github.com/svgpp/svgpp/issues/70
Fixed in src:agg with: https://sourceforge.net/p/agg/svn/119/
and possibly already fixed with the inclusion of 05-fix-recursion-crash.patch
in 2.5+dfsg1-3.
No security impact on svgpp, only used to build examples, see #921097