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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1656-1
NVD severitymedium
Debian Bugs919321, 919322

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
agg (PTS)jessie2.5+dfsg1-9vulnerable
jessie (security)2.5+dfsg1-9+deb8u1fixed
stretch2.5+dfsg1-11vulnerable
bullseye, sid, buster1:2.6.0-r132+dfsg1-3fixed
svgpp (PTS)bullseye, sid, buster1.2.3+dfsg1-6vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
aggsource(unstable)1:2.4-r127+dfsg1-1low919322
aggsourcejessie2.5+dfsg1-9+deb8u1DLA-1656-1
svgppsource(unstable)(unfixed)unimportant919321

Notes

[stretch] - agg <no-dsa> (Minor issue)
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