---
id: CVE-2026-88366
title: >-
  NanoSVG commit 239e102ec contains an incorrect numeric conversion
  vulnerability in nsvg__pathArcTo() when parsing SVG arc commands
summary: >-
  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 calculat…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-681
published: '2026-09-24'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T18:16:57.353'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88366'
references:
  - url: 'https://github.com/memononen/nanosvg/issues/294'
    label: cve@mitre.org
  - url: 'https://github.com/memononen/nanosvg/issues/294'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00401
epssPercentile: 0.34158
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-06T15:43:32.241424Z'
ingestedAt: '2026-09-24T15:45:56.658Z'
---

## Overview

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

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
