Unrated
CVE-2008-1887 affecting package python-py 1.11.0-1
Type: advisorySources: OSV
Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.
- Products
- python-py
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2008-1887
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:26 UTC · Revision 1
Source evidence
CVE-2008-1887 affecting package python-py 1.11.0-1
core-osv · Original sourcePublished 18 Apr 2008, 17:05 UTC
Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.
osv:AZL-109563
python-py
Fixed versions: Not specified
Complete source record
{
"id": "84c63f46b26aed5611200b6e34839dde6b92e973a9c88acbe461319083e816a0",
"url": "https://osv.dev/vulnerability/AZL-109563",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2008-1887 affecting package python-py 1.11.0-1",
"summary": "Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.",
"evidence": "osv:AZL-109563",
"products": [
{
"name": {
"value": "python-py",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "AZL-109563",
"aliases": [
"AZL-109563"
],
"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-109563.json"
}
}
],
"modified": "2026-10-27T05:36:16Z",
"provider": "osv",
"upstream": [
"CVE-2008-1887"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2008-1887"
]
},
"related_cves": [
{
"value": "CVE-2008-1887",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460480,
"published_at": "2008-04-18T17:05:00+00:00"
}