libzip — security advisory
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
- Products
- libzip
- Affected versions
- Not specified
- Fixed versions
- 0.10-1
- CVEs
- CVE-2011-0421
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:00 UTC · Revision 1
Source evidence
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
osv:DEBIAN-CVE-2011-0421
libzip
Fixed versions: 0.10-1
libzip
Fixed versions: 0.10-1
libzip
Fixed versions: 0.10-1
Complete source record
{
"id": "b51335486d29406c429f2b33aaf108f7d2da6617c9a4cfb2da78701431ead663",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2011-0421",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2011-0421",
"summary": "The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.",
"evidence": "osv:DEBIAN-CVE-2011-0421",
"products": [
{
"name": {
"value": "libzip",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.10-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libzip",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.10-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libzip",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.10-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2011-0421",
"aliases": [
"DEBIAN-CVE-2011-0421"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10-1"
}
]
}
],
"package": {
"name": "libzip",
"purl": "pkg:deb/debian/libzip?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-0421.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10-1"
}
]
}
],
"package": {
"name": "libzip",
"purl": "pkg:deb/debian/libzip?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-0421.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10-1"
}
]
}
],
"package": {
"name": "libzip",
"purl": "pkg:deb/debian/libzip?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-0421.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T17:47:31.994383767Z",
"provider": "osv",
"upstream": [
"CVE-2011-0421"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2011-0421"
]
},
"related_cves": [
{
"value": "CVE-2011-0421",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 417476,
"published_at": "2011-03-20T02:00:03.377+00:00"
}