Buffer Overflow Affecting svgpp package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (70th 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 Learn

Learn about Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-SVGPP-10078614
  • published8 May 2025
  • 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.

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 Base Scores

version 3.1