{"api_version":"1","generated_at":"2026-04-23T04:20:57+00:00","cve":"CVE-2007-1657","urls":{"html":"https://cve.report/CVE-2007-1657","api":"https://cve.report/api/cve/CVE-2007-1657.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-1657","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1657"},"summary":{"title":"CVE-2007-1657","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-03-24 01:19:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/archive/1/462799/100/0/threaded","name":"http://www.securityfocus.com/archive/1/462799/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/43550","name":"http://osvdb.org/43550","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://www.securityfocus.com/bid/22964","name":"http://www.securityfocus.com/bid/22964","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"MiniGZip Controls File_Compress Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://attrition.org/pipermail/vim/2007-March/001430.html","name":"http://attrition.org/pipermail/vim/2007-March/001430.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[VIM] [TRUE] Python 2.5 (Modules/zlib) minigzip local buffer\toverflow vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1657","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1657","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"1657","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python_software_foundation","cpe5":"python","cpe6":"2.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T13:06:25.865Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"20070314 Fwd: Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/462799/100/0/threaded"},{"name":"20070314 [TRUE] Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","tags":["mailing-list","x_refsource_VIM","x_transferred"],"url":"http://attrition.org/pipermail/vim/2007-March/001430.html"},{"name":"43550","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/43550"},{"name":"22964","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/22964"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-03-14T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-16T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20070314 Fwd: Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/462799/100/0/threaded"},{"name":"20070314 [TRUE] Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","tags":["mailing-list","x_refsource_VIM"],"url":"http://attrition.org/pipermail/vim/2007-March/001430.html"},{"name":"43550","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/43550"},{"name":"22964","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/22964"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1657","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20070314 Fwd: Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/462799/100/0/threaded"},{"name":"20070314 [TRUE] Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability","refsource":"VIM","url":"http://attrition.org/pipermail/vim/2007-March/001430.html"},{"name":"43550","refsource":"OSVDB","url":"http://osvdb.org/43550"},{"name":"22964","refsource":"BID","url":"http://www.securityfocus.com/bid/22964"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-1657","datePublished":"2007-03-24T01:00:00.000Z","dateReserved":"2007-03-23T00:00:00.000Z","dateUpdated":"2024-08-07T13:06:25.865Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-03-24 01:19:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:python_software_foundation:python:2.5:*:*:*:*:*:*:*","matchCriteriaId":"09FC837C-CA10-4F04-A537-A6C759C7BE69"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"1657","Ordinal":"1","Title":"CVE-2007-1657","CVE":"CVE-2007-1657","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"1657","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-1657"},{"CveYear":"2007","CveId":"1657","Ordinal":"2","NoteData":"2007-03-23","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"1657","Ordinal":"3","NoteData":"2018-10-16","Type":"Other","Title":"Modified"}]}}}