CVE-2007-1657: Python Software Foundation Python

High severity, CVSS 7.5. EPSS: 4.7% chance of exploitation in the next 30 days.

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.

Affected products

Published 2007-03-24. Last modified 2026-06-16.