rust-zip — security advisory
zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.
- Products
- rust-zip
- Affected versions
- 0.6.3-3, 0.6.6-1, 0.6.6-2, 0.6.6-3, 0.6.6-4, 0.6.6-5, 2.5.0-1, 5.1.1+dfsg-1, 5.1.1-1, 5.1.1-2, 5.1.1-3, 5.1.1-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-115905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:20 UTC · Revision 1
Source evidence
zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.
osv:DEBIAN-CVE-2026-115905
rust-zip
Fixed versions: Not specified
rust-zip
Fixed versions: Not specified
rust-zip
Fixed versions: Not specified
Complete source record
{
"id": "289be65c7ed931e22c8c5d7adcb05a8fcd737da08a5cb80a6924f44500e4ce88",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-115905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-115905",
"summary": "zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.",
"evidence": "osv:DEBIAN-CVE-2026-115905",
"products": [
{
"name": {
"value": "rust-zip",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-3",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.6-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.6-3",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.6-4",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.6-5",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.1+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.1-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-zip",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.1+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.1-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rust-zip",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.1.1+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.1.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.1.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "5.1.1-3",
"evidence": "/affected/2/versions"
},
{
"value": "5.1.1-4",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2026-115905",
"aliases": [
"DEBIAN-CVE-2026-115905"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-zip",
"purl": "pkg:deb/debian/rust-zip?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.6.3-3",
"0.6.6-1",
"0.6.6-2",
"0.6.6-3",
"0.6.6-4",
"0.6.6-5",
"2.5.0-1",
"5.1.1+dfsg-1",
"5.1.1-1",
"5.1.1-2",
"5.1.1-3",
"5.1.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115905.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-zip",
"purl": "pkg:deb/debian/rust-zip?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.5.0-1",
"5.1.1+dfsg-1",
"5.1.1-1",
"5.1.1-2",
"5.1.1-3",
"5.1.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115905.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-zip",
"purl": "pkg:deb/debian/rust-zip?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.5.0-1",
"5.1.1+dfsg-1",
"5.1.1-1",
"5.1.1-2",
"5.1.1-3",
"5.1.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115905.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T05:00:06.261163397Z",
"provider": "osv",
"upstream": [
"CVE-2026-115905"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-115905"
]
},
"related_cves": [
{
"value": "CVE-2026-115905",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 460340,
"published_at": "2026-10-26T17:17:17.823+00:00"
}