CVE-2025-4748
mediumpriority · track · 0EPSS 0.003 · 22 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.1–4.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (38)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1333Erlang/OTP: Schwachstelle ermöglicht Manipulation von DateienDeutsch2025-06-16csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Erlang/OTP ausnutzen, um Dateien zu manipulieren.
- EEF-CVE-2025-4748Absolute path traversal in zip:unzip/1,22025-06-16vendor · osvUS
## 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. ## Workarounds You can use zip:list\_dir/1 on the archive and verify that no files contain absolute paths before extracting the archive to disk.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2025/06/16/5cnnvd
- https://access.redhat.com/security/cve/cve-2025-4748cnnvd
- https://github.com/erlang/otp/pull/9941cnnvd
- https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhccnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-4748cnnvd
- https://vigilance.fr/vulnerability/Erlang-OTP-directory-escape-via-lib-stdlib-src-zip-erl-47737cnnvd
- https://www.erlang.org/doc/system/versions.html#order-of-versionscnnvd
- https://www.erlang.org/downloadsPatchcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan