CVE-2026-88366: n/a
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.
AI Analysis
Technical Summary
The vulnerability in NanoSVG arises from the nsvg__pathArcTo() function's handling of SVG arc commands. When parsing arcs with extreme radius values, intermediate calculations can produce a NaN delta angle. This NaN value is then converted to an integer without validation for finiteness or representability, causing undefined behavior and process termination. This results in a denial of service condition when processing maliciously crafted SVG files.
Potential Impact
An attacker can cause the NanoSVG process to terminate unexpectedly by supplying a specially crafted SVG document with extreme arc radius values. This results in a denial of service, potentially disrupting applications or services that rely on NanoSVG for SVG parsing.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted SVG documents containing arc commands with extreme radius values.
CVE-2026-88366: n/a
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in NanoSVG arises from the nsvg__pathArcTo() function's handling of SVG arc commands. When parsing arcs with extreme radius values, intermediate calculations can produce a NaN delta angle. This NaN value is then converted to an integer without validation for finiteness or representability, causing undefined behavior and process termination. This results in a denial of service condition when processing maliciously crafted SVG files.
Potential Impact
An attacker can cause the NanoSVG process to terminate unexpectedly by supplying a specially crafted SVG document with extreme arc radius values. This results in a denial of service, potentially disrupting applications or services that rely on NanoSVG for SVG parsing.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted SVG documents containing arc commands with extreme radius values.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-09-10T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6ab54645f7a7c541067fcbb4
Added to database: 09/24/2026, 15:48:21 UTC
Last enriched: 09/24/2026, 16:03:07 UTC
Last updated: 09/25/2026, 03:02:47 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.