CVE-2026-88366
Deferred Deferred - Pending Action

Incorrect Numeric Conversion in NanoSVG Leading to Denial of Service

Vulnerability report for CVE-2026-88366, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-25
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
memononen nanosvg *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in NanoSVG, an SVG parsing library. When processing an SVG arc command with extreme radius values, the library calculates a NaN delta angle. This NaN is then incorrectly converted to an integer without validation, causing undefined behavior and a crash. The issue occurs during SVG parsing, not rasterization, and can be triggered by malformed input.

Detection Guidance

To detect this vulnerability, monitor for crashes or errors when processing SVG files with extreme arc radius values. Use tools like UndefinedBehaviorSanitizer (UBSan) during compilation to catch undefined behavior. Test SVG parsers with malformed inputs containing values like 57.1E2857.

Impact Analysis

This vulnerability can cause applications using NanoSVG to crash when processing malicious SVG files. This leads to denial of service, as the application becomes unresponsive or terminates unexpectedly. Attackers could exploit this by providing specially crafted SVG files to trigger the crash.

Compliance Impact

This vulnerability primarily causes denial of service by crashing applications parsing malformed SVG files. It does not directly affect data confidentiality or integrity, so its impact on GDPR or HIPAA compliance is likely minimal unless the DoS disrupts critical services handling protected data.

Mitigation Strategies

Update NanoSVG to a patched version that validates delta angles and radii before integer conversion. If using a vulnerable version, filter or sanitize SVG inputs to reject extreme arc radius values. Implement runtime checks in SVG parsers to handle non-finite or zero radii as invalid.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-88366. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart