Skip to content
OpenAdvisories
High · 7.5 CVE-2026-88366 EUVD-2026-86265GHSA-7hmh-4252-97cx

NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in nsvg__pathArcTo() when parsing SVG arc commands. A speci…

Published Sep 24, 2026 · Updated Oct 6, 2026 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 nanosvg No fix yet —
Ubuntu 26.04 LTS nanosvg No fix yet —
Ubuntu 24.04 LTS nanosvg No fix yet —

References