PT-2019-18050 · Svgpp+2 · Svgpp+2

Ghost

·

Published

2019-01-13

·

Updated

2023-04-01

·

CVE-2019-6245

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions svgpp version 1.2.3 Anti-Grain Geometry (AGG) version 2.4
Description A problem exists in the agg::cell aa::not equal function where dx is assigned the value of (x2 - x1). If dx is greater than or equal to dx limit, which is calculated as (16384 << poly subpixel shift), the function calls itself recursively. This can lead to a situation where (x2 - x1) is always larger than dx limit during recursion, resulting in continuous stack consumption.
Recommendations For svgpp version 1.2.3, consider disabling the agg::cell aa::not equal function until a patch is available to prevent potential stack overflow issues. For Anti-Grain Geometry (AGG) version 2.4, restrict the recursive calls in the agg::cell aa::not equal function to minimize the risk of exploitation.

Exploit

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-6245
DLA-1656-1
DLA-2872-1
DLA-3376-1

Affected Products

Anti-Grain Geometry
Debian
Svgpp