Buffer Overflow Affecting svgpp/svgpp package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SVGPPSVGPP-2367380
  • published26 Jan 2022
  • disclosed13 Jan 2019
  • creditUnknown

Introduced: 13 Jan 2019

CVE-2019-6245  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for svgpp/svgpp.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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.

References

CVSS Scores

version 3.1