CVE-2026-88366

Incorrect Numeric Conversion Leading to Denial of Service in NanoSVG

Published Sep 24, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Incorrect Numeric Conversion Leading to Denial of Service in NanoSVG
Type Values Removed Values Added
Title Incorrect numeric conversion in NanoSVG leads to denial of service
Weaknesses CWE-704
Type Values Removed Values Added
Weaknesses CWE-681
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
First Time appeared Memononen
Memononen nanosvg
Vendors & Products Memononen
Memononen nanosvg
Type Values Removed Values Added
Title Incorrect numeric conversion in NanoSVG leads to denial of service
Weaknesses CWE-704
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 6, 2026, 5:42 PM
Reserved
Sep 10, 2026, 12:00 AM
Status
Deferred
Published
Sep 24, 2026, 4:17 PM
Modified
Oct 6, 2026, 6:16 PM