CVE-2007-1657

Python 2.5 - Stack-based Buffer Overflow in minigzip file_compress Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-1657. PoCs published by starcadi.

AI-analyzed exploit summary The exploit leverages a buffer overflow in the 'minigzip' tool by supplying an overly long string of 'A' characters (1050 bytes) to trigger a crash or arbitrary code execution. This is a local exploit requiring user interaction to execute the crafted input.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by starcadi · textdoswindows
https://www.exploit-db.com/exploits/29740

The exploit leverages a buffer overflow in the 'minigzip' tool by supplying an overly long string of 'A' characters (1050 bytes) to trigger a crash or arbitrary code execution. This is a local exploit requiring user interaction to execute the crafted input.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: minigzip (version not specified)
No auth needed
Prerequisites: Local access to the system running minigzip
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Various Sources mailing-list x_refsource_vim
http://attrition.org/pipermail/vim/2007-March/001430.html
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/462799/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/43550
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22964

Scores

EPSS 0.0467
EPSS Percentile 90.8%

Details

Status published
Products (1)
python_software_foundation/python 2.5
Published Mar 24, 2007
Tracked Since Feb 18, 2026