CVE-2025-4748 json
Absolute path traversal in zip:unzip/1,2
published 2025-06-16 16 mo ago modified 2026-07-24 3 mo ago also EUVD-2025-18414
- cvss
- 4.8
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation. This vulnerability is associated with program files lib/stdlib/src/zip.erl and program routines zip:unzip/1, zip:unzip/2, zip:extract/1, zip:extract/2 unless the memory option is passed.
This issue affects OTP from OTP 17.0 before OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 before 7.0.1, 6.2.2.1 and 5.2.3.4.
Patch / fix
- Erlang OTP 5.2.3.4, 6.2.2.1, 7.0.1, 26.2.5.13, 27.3.4.1, 28.0.1
- erlang Debian 12 1:25.2.3+dfsg-1+deb12u2
- erlang Debian 14, Debian 13 1:27.3.4.1+dfsg-1
debian advisories DEBIAN-CVE-2025-4748
- erlang Ubuntu 22.04 LTS 1:24.2.1+dfsg-1ubuntu0.5
- erlang Ubuntu 24.04 LTS 1:25.3.2.8+dfsg-1ubuntu4.4
- erlang Ubuntu 25.10 1:27.3.4.1+dfsg-1
- erlang Ubuntu Pro 16.04 LTS 1:18.3-dfsg-1ubuntu3.1+esm4
- erlang Ubuntu Pro 18.04 LTS 1:20.2.2+dfsg-1ubuntu2+esm4
- erlang Ubuntu Pro 20.04 LTS 1:22.2.7+dfsg-1ubuntu0.5+esm3
ubuntu advisories UBUNTU-CVE-2025-4748
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- erlang SLES for SAP applications 16.0, SLES 16.0 27.1.3-160000.5.1
- erlang SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 23.3.4.19-150300.3.23.3
- erlang26 SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 26.2.1-150300.7.14.3
suse advisories SUSE-SU-2026:22082-1SUSE-SU-2025:02332-1SUSE-SU-2025:02331-1
- erlang openSUSE Leap 16.0 27.1.3-160000.5.1
- erlang27 openSUSE Tumbleweed 27.1.3-2.1
opensuse advisories openSUSE-SU-2026:20907-1openSUSE-SU-2026:10947-1
- erlang CBL-Mariner 2.0 25.3.2.21-2
- erlang Azure Linux 3.0 26.2.5.13-1
azure linux advisories AZL-64068AZL-64073
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- erlang Arch Linux 28.0.1-1
arch linux advisories AVG-2900
- github.com/erlang/otp@5a55fee commit
- github.com/erlang/otp@ba2f2bc commit
- github.com/erlang/otp@578d400 commit
- github.com/erlang/otp#9941 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L |
| CNA | 4.0 | 4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/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 products
- Erlang OTP
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/erlang/otp/pull/9941
patch
-
github.com
/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f
patch
-
github.com
/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f
patch
-
github.com
/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5
patch
-
github.com
/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc
vendor-advisory, related
-
cna.erlef.org
/cves/CVE-2025-4748.html
related
-
osv.dev
/vulnerability/EEF-CVE-2025-4748
related
- erlang.org /doc/system/versions.html#order-of-versions
- openwall.com /lists/oss-security/2025/06/16/5
Sources
- CVE List CVE-2025-4748
- NVD CVE-2025-4748
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.