Description
Multiple integer overflows in imageop.c in Python before 2.5.3 allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted images that trigger heap-based buffer overflows. NOTE: this issue is due to an incomplete fix for CVE-2007-4965.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | python2.4 | 2.4.4-3+etch1 | DSA-1551-1 |
| Debian 4.0 | python2.5 | 2.5-5+etch1 | DSA-1620-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | python +4 | 2.3.4-14.7.el4_8.2 | RHSA-2009:1177 |
| RHEL 3 | python +3 | 2.2.3-6.11 | RHSA-2009:1178 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-py | No fix yet | — |
Advisories 4
- RHSA-2009:1178 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2009:1177 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1551-1 python2.4 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1620-1 python2.5 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- SUSE-SR:2008:017 vendor-advisory
- GLSA-200807-01 vendor-advisory
- 30872 third-party-advisory
- 38675 third-party-advisory
- 33937 third-party-advisory
- 29955 third-party-advisory
- https://issues.rpath.com/browse/RPL-2424
- 31687 third-party-advisory
- DSA-1551 vendor-advisory
- http://support.apple.com/kb/HT3438
- oval:org.mitre.oval:def:10583 vdb-entry signature
- http://bugs.python.org/msg64682
- APPLE-SA-2009-02-12 vendor-advisory
- 31358 third-party-advisory
- oval:org.mitre.oval:def:7800 vdb-entry signature
- USN-632-1 vendor-advisory
- MDVSA-2008:164 vendor-advisory
- 31518 third-party-advisory
- http://bugs.python.org/issue1179
- 31365 third-party-advisory
- http://support.avaya.com/css/P8/documents/100074697
- 31255 third-party-advisory
- http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900
- DSA-1620 vendor-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0149
- MDVSA-2008:163 vendor-advisory
- python-imageopc-bo(41958) vdb-entry
- SSA:2008-217-01 vendor-advisory
- 29889 third-party-advisory