CVE-2013-6954 Null dereference in n/a

Medium 6.5 Published Updated

Remote attackers can crash applications using libpng by sending crafted PNG images with zero-byte or NULL palettes, causing a denial of service.

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
Available

What is CVE-2013-6954?

CVE-2013-6954 is a medium-severity vulnerability in Libpng Libpng, published on 12 Jan 2014. 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

The png_do_expand_palette function in libpng before 1.6.8 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via (1) a PLTE chunk of zero bytes or (2) a NULL palette, related to pngrtran.c and pngset.c.

Weakness: CWE-476

Which versions are affected by CVE-2013-6954?

It affects 1 product.

Products include Libpng Libpng.

How do I fix CVE-2013-6954?

Upgrade to a fixed version.

Is CVE-2013-6954 being exploited?

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

All Libpng Libpng vulnerabilities

Sources

Also known as GHSA-jqh6-vqxw-fcv3, MGASA-2014-0075, MGASA-2014-0076.

Is CVE-2013-6954 in your software?

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

Check your SBOMs for free