# CVE-2026-88366: NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in nsvgpathArcTo() when parsing SVG arc commands.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T00:00:00.000Z
- Modified: 2026-10-06T18:16:57.353Z
- Weaknesses: CWE-681
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/memononen/nanosvg/issues/294> (exploit)

## Sources

- CVE List: [CVE-2026-88366](https://www.cve.org/CVERecord?id=CVE-2026-88366), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-88366](https://nvd.nist.gov/vuln/detail/CVE-2026-88366), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-88366 · Whole record: https://cve.day/CVE-2026-88366.json · Rebuilt by cve.day 2026-11-25T22:59:40.775Z
