CVE-2007-1657 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer overflow in Python's zlib module allows attackers to execute arbitrary code via a long file argument.

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

What is CVE-2007-1657?

CVE-2007-1657 is a high-severity memory corruption vulnerability in n/a, published on 24 Mar 2007.

Official description

Stack-based buffer overflow in the file_compress function in minigzip (Modules/zlib) in Python 2.5 allows context-dependent attackers to execute arbitrary code via a long file argument.

Which versions are affected by CVE-2007-1657?

It affects 1 product.

Products include Python Software Foundation Python.

How do I fix CVE-2007-1657?

No fix has been published for CVE-2007-1657 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-2007-1657 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1657 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-pr57-xgx2-vrxx.

Is CVE-2007-1657 in your software?

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

Check your SBOMs for free