Python up to 2.5 Release Candidate 2 repr memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Python. This vulnerability affects the function repr. This manipulation causes memory corruption. The identification of this vulnerability is CVE-2006-4980. There is no exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability has been found in Python (Programming Language Software) and classified as critical. Affected by this vulnerability is the function repr. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 10/07/2006. The weakness was shared 10/10/2006 (Website). The advisory is shared at secunia.com. This vulnerability is known as CVE-2006-4980 since 09/25/2006. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 22514 (CentOS 3 / 4 : python (CESA-2006:0713)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 115426 (Python Repr() Function Remote Code Execution Vulnerability).

Upgrading eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (29408), Tenable (22514), SecurityFocus (BID 20376†), OSVDB (29366†) and Secunia (SA22276†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 22514
Nessus Name: CentOS 3 / 4 : python (CESA-2006:0713)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 57538
OpenVAS Name: Debian Security Advisory DSA 1197-1 (python2.4)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

09/25/2006 🔍
10/06/2006 +11 days 🔍
10/07/2006 +1 days 🔍
10/07/2006 +0 days 🔍
10/09/2006 +2 days 🔍
10/10/2006 +1 days 🔍
10/10/2006 +0 days 🔍
10/10/2006 +0 days 🔍
10/10/2006 +0 days 🔍
10/16/2006 +6 days 🔍
03/12/2015 +3069 days 🔍
04/23/2026 +4060 days 🔍

Sourcesinfo

Advisory: secunia.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-4980 (🔍)
GCVE (CVE): GCVE-0-2006-4980
GCVE (VulDB): GCVE-100-32629

OVAL: 🔍

X-Force: 29408
SecurityFocus: 20376 - Python Repr() Function Remote Code Execution Vulnerability
Secunia: 22276
OSVDB: 29366 - CVE-2006-4980 - Python - Buffer Overflow Issue
SecurityTracker: 1017019
Vulnerability Center: 12918 - Python repr Function Denial of Service via UTF-32/UCS-4 Strings, Medium
Vupen: ADV-2006-3940

Entryinfo

Created: 03/12/2015 15:51
Updated: 04/23/2026 18:28
Changes: 03/12/2015 15:51 (70), 07/09/2019 11:34 (13), 06/16/2025 02:24 (20), 04/23/2026 18:28 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!