CVE-2004-0768 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a buffer overflow in libpng by tricking a user into opening a malicious PNG file.

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-2004-0768?

CVE-2004-0768 is a high-severity memory corruption vulnerability in n/a, published on 19 Aug 2004. 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

libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack.

Which versions are affected by CVE-2004-0768?

It affects 1 product.

Products include Greg Roelofs Libpng3.

How do I fix CVE-2004-0768?

Upgrade to a fixed version.

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

Is CVE-2004-0768 being exploited?

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

Sources

Also known as GHSA-8p78-6v29-xw89.

Is CVE-2004-0768 in your software?

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

Check your SBOMs for free