CVE Catalog

CVE-2026-88367

Unknown
Published: Translated: NVD NIST

Summary

NanoSVG 239e102ec contains an incorrect numeric conversion vulnerability in nsvg__curveDivs() during SVG stroke rasterization. A specially crafted SVG document containing an extremely large stroke-width can cause floating-point rounding to produce a zero subdivision angle. The subsequent arc division yields infinity, which is converted to int without range validation, resulting in undefined behavior and process termination.

Risk Assessment

This can lead to denial of service when processing malicious SVG files.

Recommendation

Update NanoSVG to a patched version or avoid processing untrusted SVG files.

Other vulnerabilities in NanoSVG

See all
Original NVD description (English source)

NanoSVG 239e102ec contains an incorrect numeric conversion vulnerability in nsvg__curveDivs() during SVG stroke rasterization. A specially crafted SVG document containing an extremely large stroke-width can cause floating-point rounding to produce a zero subdivision angle. The subsequent arc division yields infinity, which is converted to int without range validation, resulting in undefined behavior and process termination, leading to denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS