DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs919321

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
svgpp (PTS)buster1.2.3+dfsg1-6vulnerable
buster (security)1.2.3+dfsg1-6+deb10u1fixed
sid, trixie, bookworm1.3.0+dfsg1-6vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Issue only in src:svgpp which does not call the AGG-API in correct way.
No security impact, only used to build examples, see #921097

Search for package or bug name: Reporting problems