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.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2019/02/msg00001.html | third party advisory mailing list |
https://github.com/svgpp/svgpp/issues/70 | exploit third party advisory patch |
https://lists.debian.org/debian-lts-announce/2021/12/msg00038.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2023/04/msg00001.html | mailing list |