DEBIAN-CVE-2026-85396

Source
https://security-tracker.debian.org/tracker/CVE-2026-85396
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85396.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-85396
Upstream
Published
2026-09-03T19:17:31Z
Modified
2026-09-14T17:03:37Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.

References

Affected packages

Debian:12 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.3.2-1
3.*
3.2.2-1
3.2.2-2
3.2.2+dfsg-1
3.4.0+dfsg-1
3.4.1+dfsg-1
3.5.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85396.json"

Debian:13 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.3.2-1
3.*
3.2.2-1
3.2.2-2
3.2.2+dfsg-1
3.4.0+dfsg-1
3.4.1+dfsg-1
3.5.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85396.json"

Debian:14 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4.0+dfsg-1

Affected versions

2.*
2.3.2-1
3.*
3.2.2-1
3.2.2-2
3.2.2+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85396.json"