CVE-2006-1542 affecting package python-py 1.11.0-1
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.
- Products
- python-py
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2006-1542
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:26 UTC · Revision 1
Source evidence
CVE-2006-1542 affecting package python-py 1.11.0-1
core-osv · Original sourcePublished 30 Mar 2006, 11:02 UTC
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.
osv:AZL-109548
python-py
Fixed versions: Not specified
Complete source record
{
"id": "e92f8d06eb6d2b7d81395f379918397f643a048e70fe6b7a79b7574cd227fdad",
"url": "https://osv.dev/vulnerability/AZL-109548",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2006-1542 affecting package python-py 1.11.0-1",
"summary": "Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a \"stack overflow,\" and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.",
"evidence": "osv:AZL-109548",
"products": [
{
"name": {
"value": "python-py",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "AZL-109548",
"aliases": [
"AZL-109548"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.11.0-1"
}
]
}
],
"package": {
"name": "python-py",
"purl": "pkg:rpm/azure-linux/python-py",
"ecosystem": "Azure Linux:3"
},
"database_specific": {
"source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-109548.json"
}
}
],
"modified": "2026-10-27T05:36:16Z",
"provider": "osv",
"upstream": [
"CVE-2006-1542"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2006-1542"
]
},
"related_cves": [
{
"value": "CVE-2006-1542",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460473,
"published_at": "2006-03-30T11:02:00+00:00"
}