CVE-2019-6245

NameCVE-2019-6245
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1656-1, DLA-2872-1, DLA-3376-1
Debian Bugs919321, 919322

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
agg (PTS)bookworm, bullseye1:2.6.1-r134+dfsg1-2fixed
sid, trixie1:2.7.0.r145+dfsg-1fixed
svgpp (PTS)bullseye1.3.0+dfsg1-4vulnerable
sid, trixie, bookworm1.3.0+dfsg1-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
aggsourcejessie2.5+dfsg1-9+deb8u1DLA-1656-1
aggsourcestretch2.5+dfsg1-11+deb9u1DLA-2872-1
aggsource(unstable)1:2.4-r127+dfsg1-1low919322
svgppsourcebuster1.2.3+dfsg1-6+deb10u1DLA-3376-1
svgppsource(unstable)(unfixed)unimportant919321

Notes

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

Search for package or bug name: Reporting problems