CVE-2026-88366

NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in nsvg__pathArcTo() when parsing SVG arc commands. A specially crafted SVG document containing extreme arc radius values can cause intermediate arc calculations to produce a NaN delta angle. The function subsequently converts this NaN value to int without validating that it is finite and representable, resulting in undefined behavior and process termination, leading to denial of service.
Configurations

No configuration.

History

06 Oct 2026, 18:16

Type Values Removed Values Added
CWE CWE-681
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/memononen/nanosvg/issues/294 - () https://github.com/memononen/nanosvg/issues/294 -

24 Sep 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-24 16:17

Updated : 2026-10-06 18:16


NVD link : CVE-2026-88366

Mitre link : CVE-2026-88366

CVE.ORG link : CVE-2026-88366


JSON object : View

Products Affected

No product.

CWE
CWE-681

Incorrect Conversion between Numeric Types