CVE-2025-4748 Details
Description
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 26.2.5.13, OTP 27.3.4.1, and OTP 28.0.1, corresponding to stdlib from 2.0 before 5.2.3.4, 6.2.2.1, and 7.0.1.
A path traversal vulnerability has been identified in the zip module of Erlang OTP, specifically in the standard library (stdlib) versions 2.0 through 7.0.1, 6.2.2.1, and 5.2.3.4. The vulnerability allows for absolute path traversal and file manipulation when using certain functions to extract files from a zip archive. The issue arises because the zip module does not properly sanitize filenames, allowing maliciously crafted zip files to overwrite arbitrary files on the system by specifying absolute paths. This vulnerability affects OTP versions 17.0 through 28.0.1, as well as the aforementioned stdlib versions.
Users can upgrade to Erlang OTP versions 28.0.1, 27.3.4.1, or 26.2.5.13, all of which include the necessary patch. Instructions for upgrading can be found in the Erlang/OTP documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 16, 2025CISA-ADP
Assessed Jun 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | EEF |
Affected Products
| Product | Versions |
|---|---|
| Erlang OTP | >= 17.0, <= 28.0.1 |
CPE
Remediation
| |
| Erlang stdlib | All versions |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | EEF |
| Nov 11, 2026 | CVE Modified | EEF |
| Nov 11, 2026 | CVE Modified | CVE |
| Jul 24, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 6, 2026 | CVE Modified | EEF |
| Jul 4, 2025 | CVE Modified | EEF |
| Jun 16, 2025 | CVE Modified | CVE |
| Jun 16, 2025 | New CVE Received | EEF |
Volerion