CVE-2019-1010258 Memory corruption in nanosvg

Medium 6.5 Published Updated

A buffer overflow in the nanosvg library allows attackers to cause memory corruption and denial of service via crafted SVG files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-1010258?

CVE-2019-1010258 is a medium-severity memory corruption vulnerability in nanosvg, published on 15 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

nanosvg library nanosvg after commit c1f6e209c16b18b46aa9f45d7e619acf42c29726 is affected by: Buffer Overflow. The impact is: Memory corruption leading to at least DoS. More severe impact vectors need more investigation. The component is: it's part of a svg processing library. function nsvg__parseColorRGB in src/nanosvg.h / line 1227. The attack vector is: It depends library usage. If input is passed from the network, then network connectivity is enough. Most likely an attack will require opening a specially crafted .svg file.

Weakness: CWE-787

Which versions are affected by CVE-2019-1010258?

It affects 1 product.

Products include Nanosvg Project Nanosvg.

How do I fix CVE-2019-1010258?

No fix has been published for CVE-2019-1010258 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-1010258 being exploited?

There is no known exploitation of CVE-2019-1010258 in the wild and no public exploit code.

Sources

Also known as GHSA-mw69-v2cv-29ww.

Is CVE-2019-1010258 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free