Buffer overflow in Antigrain Agg

CVE-2019-6245

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.

Vulnerability class: Buffer Overflow

EPSS: 0.020 (78.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-6245?
CVE-2019-6245 is a high-severity vulnerability in Antigrain Agg, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2019-01-13.
How severe is CVE-2019-6245?
High severity. CVSS v3 base score is 8.8 out of 10.