zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
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
- zip2
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-115905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 13:04 UTC · Revision 1
Source evidence
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
core-cve · Original sourcePublished 26 Oct 2026, 16:24 UTC
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.
cve:CVE-2026-115905
zip2
Fixed versions: Not specified
Complete source record
{
"id": "0e629790602d46d4a7187f01b5e367e37940bbd439deea73cd0a2f1c151dd1f4",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-115905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE",
"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": "cve:CVE-2026-115905",
"products": [
{
"name": {
"value": "zip2",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2026-115905",
"aliases": [
"CVE-2026-115905"
],
"metrics": [
{
"cvssV4_0": {
"version": "4.0",
"baseScore": 10,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "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",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH",
"subAvailabilityImpact": "LOW",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"vendor": "zip-rs",
"product": "zip2",
"versions": [
{
"status": "affected",
"version": "< 9.0.5"
}
]
}
],
"modified": "2026-10-26T16:24:44.760Z",
"provider": "cve",
"references": [
"https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj",
"https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e",
"https://github.com/zip-rs/zip2/releases/tag/v9.0.5"
],
"provider_metadata": {
"cna": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-26T16:24:44.760Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-115905",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 318576,
"published_at": "2026-10-26T16:24:44.76+00:00"
}