Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted SVG to parser
-
DeliveryArc command with extreme radii parsed
-
ExploitNaN delta angle computed
-
ExecutionUnvalidated NaN-to-int conversion
-
ImpactProcess termination / denial of service
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires that the target application uses NanoSVG (at/around commit 239e102ec) to parse an attacker-controlled SVG document, and that the SVG reaches nsvg__pathArcTo() via an arc command containing extreme radius values that drive the delta-angle computation to NaN. The limiting factors: the attacker must be able to supply or cause rendering of an SVG file, and in deployments where SVGs are opened manually rather than parsed automatically, user interaction is effectively required despite the UI:N in the published vector. Impact is confined to a crash of the single parsing process (S:U), with no confidentiality or integrity effect, so multi-process or sandboxed renderers limit the blast radius to the affected worker. |
| Impact | This is a genuine but low-urgency issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) reflects a remotely reachable, low-complexity, unauthenticated crash with availability-only impact - the 'High' score is driven entirely by the A:H availability metric, not by any confidentiality or integrity consequence. The real-world signals temper this: EPSS is only 0.16% (4th percentile), there is no CISA KEV listing, and no public exploit code is referenced, so there is no evidence of exploitation. The vulnerability is a denial-of-service only (NaN-to-int conversion causing process termination), meaning the worst case is a crash of whatever host process parses the malicious SVG, not code execution or data compromise. Note a nuance the CVSS vector understates: NanoSVG is a library, so AV:N and UI:N only hold when the embedding application automatically fetches and parses attacker-supplied SVGs without user interaction; in applications where a user must open a file, real exploitation is closer to AV:N/UI:R. Overall this is a high-CVSS-but-moderate-real-risk DoS: worth patching in SVG-handling services, but not an emergency. |
| Exploit ScenarioDerived | An attacker crafts an SVG document containing an arc command (A/a) with extreme radius values that cause nsvg__pathArcTo() to compute a NaN delta angle, then submits it to an application that embeds NanoSVG for rendering (e.g. an image-upload or thumbnailing service). When the library converts the NaN to an int without a finite-value check, the process hits undefined behavior and terminates, dropping the service. No public exploit code is referenced, though the triggering condition is described in detail in the upstream GitHub issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Denial of service in NanoSVG at commit 239e102ec affects applications that parse attacker-supplied SVG documents, where a crafted arc command with extreme radius values drives the arc delta-angle calculation to NaN and the subsequent unchecked NaN-to-int conversion causes undefined behavior and process termination. The published CVSS vector is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), so the unauthenticated network attack path is constrained by the requirement that the target actually process a malicious SVG, and manual SVG opening can effectively require user interaction; EPSS is 0.16% and no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch identified in the provided intelligence for this exact commit; consult GitHub issue https://github.com/memononen/nanosvg/issues/294 for upstream fix or commit guidance and upgrade NanoSVG to a revision that validates finite/representable values before nsvg__pathArcTo() converts the delta angle to int. Until a patched revision can be deployed, avoid parsing untrusted SVG with NanoSVG, or run the parser in a constrained sandboxed subprocess with CPU and memory limits so a crash only terminates the worker. Additional compensating controls include rejecting SVG documents that contain arc commands with extreme or non-finite radii before passing them to NanoSVG, disabling non-essential SVG upload or render paths, and monitoring parser processes for abnormal exits; these measures trade some functionality or availability for reduced denial-of-service exposure, and input validation should be treated as defense-in-depth rather than a substitute for an upstream fix. References: https://github.com/memononen/nanosvg/issues/294, https://nvd.nist.gov/vuln/detail/CVE-2026-88366, https://vuldb.com/vuln/409457.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NanoSVG is a lightweight C/C++ SVG parsing library used to parse or rasterize SVG files, and the affected routine nsvg__pathArcTo() handles SVG elliptical arc commands. When a crafted SVG supplies extreme arc radius values, intermediate arc calculations can produce a NaN delta angle, and the code converts that NaN to int without checking whether it is finite or representable, matching CWE-681 (Incorrect Conversion between Numeric Types). That unchecked conversion is undefined behavior in C/C++ and in this case manifests as a crash, limiting impact to denial of service rather than code execution or data disclosure. The provided CPE is n/a n/a, and EUVD lists affected versions as n/a n/a, so the known affected revision is commit 239e102ec rather than a formally versioned release; the referenced GitHub issue https://github.com/memononen/nanosvg/issues/294 is the primary vendor project source for the flaw.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Crafted SVG reaches the parser remotely with no auth or added complexity; availability-only crash, so C:N/I:N/A:H and scope unchanged.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
NanoSVG (commit 239e102ec), an SVG parsing library used by applications that process attacker-supplied SVG documents, can be driven to crash by a crafted arc command, causing process termination and potential service disruption. This is an unauthenticated network-reachable availability issue, but it requires the target application to actually parse a malicious SVG, and no public exploit identified at time of analysis; leadership should prioritize inventory and containment for any internet-facing or business-critical services that rely on NanoSVG.
No vendor-released patch identified at time of analysis; mitigate by disabling or restricting untrusted SVG parsing in NanoSVG-dependent applications, enforcing strict SVG input validation and coordinate limits, running parsers in isolated low-privilege sandboxes or containers with restart controls, and monitoring for parser crashes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-86265
GHSA-7hmh-4252-97cx
NVD
CVE.org
EPSS
VulDB
Exploit-DB