Description
Buffer overflow in the repr function in Python 2.3 through 2.6 before 20060822 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via crafted wide character UTF-32/UCS-4 strings to certain scripts.
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 3.1 | python2.3 | 2.3.5-3sarge2 | DSA-1198-1 |
| Debian 3.1 | python2.4 | 2.4.1-2sarge1 | DSA-1197-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | python +4 | 2.3.4-14.3 | RHSA-2006:0713 |
| RHEL 3 | python +3 | 2.2.3-6.5 | RHSA-2006:0713 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Network Satellite 5 | rhn-solaris-bootstrap | 5.0.2-3 | RHSA-2008:0629, RHSA-2008:0264 |
| Red Hat Network Satellite 5 | rhn_solaris_bootstrap_5_0_2_3 +1 | 1-0 | RHSA-2008:0629, RHSA-2008:0264 |
| Red Hat Network Satellite 4 | rhn-solaris-bootstrap | 5.0.2-3 | RHSA-2008:0525 |
| Red Hat Network Satellite 4 | rhn_solaris_bootstrap_5_0_2_3 | 1-0 | RHSA-2008:0525 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-py | No fix yet | — |
Advisories 6
- RHSA-2006:0713 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1197-1 python2.4 Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1198-1 python2.3 Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2008:0629 Red Hat Security Advisory: Red Hat Network Satellite Server Solaris client security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
- RHSA-2008:0525 Red Hat Security Advisory: Red Hat Network Satellite Server Solaris client security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
- RHSA-2008:0264 Red Hat Security Advisory: Red Hat Network Satellite Server Solaris client security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
References
- 22303 third-party-advisory
- DSA-1197 vendor-advisory
- http://www.vmware.com/support/vi3/doc/esx-3069097-patch.html
- 22487 third-party-advisory
- 20061011 rPSA-2006-0187-1 idle python mailing-list
- 22639 third-party-advisory
- MDKSA-2006:181 vendor-advisory
- python-repr-bo(29408) vdb-entry
- 23680 third-party-advisory
- 22512 third-party-advisory
- https://launchpad.net/distros/ubuntu/+source/python2.4/+bug/56633
- http://zoehep.xent.com/~bsittler/python2.4-2.4.3_unicodeobject.c.diff
- http://support.avaya.com/elmodocs2/security/ASA-2006-229.htm
- http://sourceforge.net/tracker/index.php?func=detail&aid=1541585&group_id=5470&atid=305470
- 31492 third-party-advisory
- RHSA-2008:0629 vendor-advisory
- RHSA-2006:0713 vendor-advisory
- ADV-2006-5131 vdb-entry
- 1017019 vdb-entry
- 22357 third-party-advisory
- DSA-1198 vendor-advisory
- 22379 third-party-advisory
- USN-359-1 vendor-advisory
- 22448 third-party-advisory
- SUSE-SR:2006:025 vendor-advisory
- 20376 vdb-entry
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208162
- GLSA-200610-07 vendor-advisory
- ADV-2006-3940 vdb-entry
- https://issues.rpath.com/browse/RPL-702
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391589
- 20070110 VMware ESX server security updates mailing-list
- 22358 third-party-advisory
- http://www.vmware.com/support/vi3/doc/esx-9986131-patch.html
- 22297 third-party-advisory
- oval:org.mitre.oval:def:10789 vdb-entry signature
- http://kb.vmware.com/KanisaPlatform/Publishing/882/5120103_f.SAL_Public.html
- 22531 third-party-advisory
- 22276 third-party-advisory