CVE-2026-88366: NanoSVG NanoSVG vulnerability

Published Sep 24, 2026
·
Updated

NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in nsvgpathArcTo() 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.

Affected Software

1 affected component
NanoSVG NanoSVG

Event History

Sep 24, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

What input is required to trigger the issue?

An attacker needs to provide a specially crafted SVG document with extreme arc radius values. The vulnerable code is reached while parsing SVG arc commands.

2

What is the practical impact of successful exploitation?

The malformed arc values can produce a NaN delta angle that is converted to an integer without validation. This causes undefined behavior and can terminate the process, resulting in denial of service.

3

Which code revision is identified as affected?

The affected revision identified in the available data is NanoSVG commit 239e102ec.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203