PT-2026-97868
CVE-2026-88366
·
Published
2026-09-24
·
Updated
2026-10-06
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
NanoSVG versions prior to commit 239e102ec
Description
An incorrect numeric conversion occurs in the
nsvg pathArcTo() function when parsing SVG arc commands. A specially crafted SVG document with extreme arc radius values can cause intermediate calculations to produce a NaN (Not-a-Number) delta angle. The function converts this NaN value to an integer without validating if it is finite or representable, leading to undefined behavior, process termination, and a denial of service.Recommendations
Update NanoSVG to a version containing the fix implemented after commit 239e102ec.
As a temporary mitigation, restrict the processing of SVG documents containing extreme arc radius values.
Found an issue in the description? Have something to add? Feel free to write us 👾