Description
NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in the rasterizer's nsvg__addActive() function. A specially crafted SVG document containing sufficiently large geometry coordinates can cause fixed-point-scaled edge coordinates to exceed the range representable by int. The rasterizer subsequently converts these values to int without range validation, resulting in undefined behavior and possible process termination, leading to denial of service.
Published: 2026-09-24
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

NanoSVG’s rasterizer incorrectly converts large geometry coordinates to integer, leading to undefined behavior that can crash the process. This flaw is a numeric conversion error (CWE‑681) and can cause a denial of service when an attacker supplies an SVG containing coordinates that exceed the representable integer range. The attack would terminate the rendering process but does not directly compromise confidentiality or integrity.

Affected Systems

The vulnerability affects software that embeds the NanoSVG library (see the project on GitHub). No specific vendor or product version list is provided; the issue was identified in commit 239e102ec and applies to any build that uses that code base without subsequent fixes.

Risk and Exploitability

The CVSS score of 7.5 denotes a high severity. EPSS data is unavailable, and the flaw is not currently listed in the CISA KEV catalog, suggesting limited evidence of exploitation. Exploitation would require an application that parses untrusted SVG files; a malicious file could trigger this overflow locally, causing a server or application crash. The risk is therefore primarily for systems that accept arbitrary SVG content.

Generated by OpenCVE AI on September 26, 2026 at 02:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update NanoSVG to the latest commit that addresses the overflow or use a patched release.
  • Ensure that any SVG documents processed by the application are from trusted sources or that the rendering pipeline is isolated in a sandboxed process.
  • Validate or constrain geometry coordinate values before they are passed to the rasterizer, rejecting SVGs that exceed representable bounds.

Generated by OpenCVE AI on September 26, 2026 at 02:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Memononen
Memononen nanosvg
Vendors & Products Memononen
Memononen nanosvg

Sat, 26 Sep 2026 03:15:00 +0000

Type Values Removed Values Added
Title Integer Conversion Overflow Leading to Denial of Service in NanoSVG

Fri, 25 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 24 Sep 2026 18:30:00 +0000

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'}


Thu, 24 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description NanoSVG commit 239e102ec contains an incorrect numeric conversion vulnerability in the rasterizer's nsvg__addActive() function. A specially crafted SVG document containing sufficiently large geometry coordinates can cause fixed-point-scaled edge coordinates to exceed the range representable by int. The rasterizer subsequently converts these values to int without range validation, resulting in undefined behavior and possible process termination, leading to denial of service.
References

Subscriptions

Memononen Nanosvg
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-24T17:55:23.038Z

Reserved: 2026-09-10T00:00:00.000Z

Link: CVE-2026-88368

cve-icon Vulnrichment

Updated: 2026-09-24T17:55:18.658Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T16:17:13.730

Modified: 2026-09-24T21:08:55.030

Link: CVE-2026-88368

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:45:08Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types