CVE-2020-35511 Memory corruption in pngcheck

High 7.8 Published Updated

A global buffer overflow in pngcheck allows attackers to execute arbitrary code or cause denial of service via a crafted PNG file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-35511?

CVE-2020-35511 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 23 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A global buffer overflow was discovered in pngcheck function in pngcheck-2.4.0(5 patches applied) via a crafted png file.

Weakness: CWE-119, CWE-126

Which versions are affected by CVE-2020-35511?

It affects 2 products.

Linux distribution packages (2)
pngcheck SUSE:Package Hub 15 SP3All versions3.0.3-bp153.3.3.1
pngcheck openSUSE:Leap 15.3All versions3.0.3-bp153.3.3.1

Products include Debian Debian Linux, Libpng Pngcheck.

How do I fix CVE-2020-35511?

Apply the vendor's patch.

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

Is CVE-2020-35511 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-35511, DLA-3238-1, DSA-5300-1, GHSA-4p54-36pq-7qrc, UBUNTU-CVE-2020-35511, openSUSE-SU-2022:10142-1.

Is CVE-2020-35511 in your software?

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

Check your SBOMs for free