Incorrect Numeric Conversion Leading to Denial of Service in NanoSVG
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Memononen | Nanosvg |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.401% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/memononen/nanosvg/issues/294 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Incorrect Numeric Conversion Leading to Denial of Service in NanoSVG |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Incorrect numeric conversion in NanoSVG leads to denial of service | |
| Weaknesses | CWE-704 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-681 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Memononen
Memononen nanosvg |
|
| Vendors & Products |
Memononen
Memononen nanosvg |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Incorrect numeric conversion in NanoSVG leads to denial of service | |
| Weaknesses | CWE-704 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| References |
|