CVE-2002-0059 Use after free in n/a

Critical 9.8 Published Updated

A double-free vulnerability in zlib allows attackers to execute arbitrary code via malformed compression data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2002-0059?

CVE-2002-0059 is a critical use after free vulnerability in n/a, published on 25 Jun 2002. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The decompression algorithm in zlib 1.1.3 and earlier, as used in many different utilities and packages, causes inflateEnd to release certain memory more than once (a "double free"), which may allow local and remote attackers to execute arbitrary code via a block of malformed compression data.

Weakness: CWE-415

Which versions are affected by CVE-2002-0059?

It affects 1 product.

Products include Zlib Zlib.

How do I fix CVE-2002-0059?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2002-0059 being exploited?

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

Sources

Also known as GHSA-8894-p74v-5485.

Is CVE-2002-0059 in your software?

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

Check your SBOMs for free