CVE-2025-4748
published 2025-06-16CVE-2025-4748: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal…
PriorityP420medium4.8CVSS 4.0
AVLACLATNPRNUIPVCNVILVALSCNSILSALEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.23%
13.1th percentile
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 until OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 until 7.0.1, 6.2.2.1 and 5.2.3.4.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | erlang | < erlang 1:25.2.3+dfsg-1+deb12u2 (bookworm) | erlang 1:25.2.3+dfsg-1+deb12u2 (bookworm) |
| erlang | otp | >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79 < * | * |
| erlang | otp | >= 17.0 < * | * |
| erlang | otp | >= 2.0 < * | * |
| msrc | azl3_erlang_26.2.5.13-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_erlang_26.2.5.15-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_erlang_26.2.5.17-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_erlang_26.2.5.18-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_erlang_25.3.2.21-2_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv4.04.8MEDIUMCVSS: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
osv4.8MEDIUM
vendor_debian4.8MEDIUM
vendor_msrc4.8MEDIUM
vendor_ubuntu3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Erlang vulnerabilities
vendor_ubuntu·2025-07-21·CVSS 3.7
CVE-2025-46712 [LOW] Erlang vulnerabilities
Title: Erlang vulnerabilities
Summary: Several security issues were fixed in Erlang.
It was discovered that Erlang OTP’s SSH module incorrectly enforced strict
KEX handshake hardening measures. A remote attacker able to intercept
communications could possibly use this issue to insert optional messages
into connections during the handshake. (CVE-2025-46712)
It was discovered that Erlang OTP incorrectly handled ZIP archives. If a
user or automated system were tricked into opening a specially crafted ZIP
archive, a remote attacker could possibly use this issue to overwrite
arbitrary files outside of the intended directory. (CVE-2025-4748)
Instructions: After a standard system update you need to reboot your computer to make all
the necessary changes.
Microsoft
Absolute path traversal in zip:unzip/1,2
vendor_msrc·2025-06-10·CVSS 4.8
CVE-2025-4748 [MEDIUM] CWE-22 Absolute path traversal in zip:unzip/1,2
Absolute path traversal in zip:unzip/1,2
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
EEF: EEF
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-u
Debian
CVE-2025-4748: erlang - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') v...
vendor_debian·2025·CVSS 4.8
CVE-2025-4748 [MEDIUM] CVE-2025-4748: erlang - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') v...
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 until OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 until 7.0.1, 6.2.2.1 and 5.2.3.4.
Scope: local
bookworm: resolved (fixed in 1:25.2.3+dfsg-1+deb12u2)
bullseye: resolved (fixed in 1:23.2.6+dfsg-1+deb11u3)
forky: resolved (fixed in 1:27.3.4.1+dfsg-1)
sid: resolved (fixed in 1:27.3.4.1+dfsg-1)
trixie: resolved (fixed in 1:27.3.4.1+dfsg-1)
OSV
erlang vulnerabilities
osv·2025-07-21·CVSS 3.7
CVE-2025-46712 [LOW] erlang vulnerabilities
erlang vulnerabilities
It was discovered that Erlang OTP’s SSH module incorrectly enforced strict
KEX handshake hardening measures. A remote attacker able to intercept
communications could possibly use this issue to insert optional messages
into connections during the handshake. (CVE-2025-46712)
It was discovered that Erlang OTP incorrectly handled ZIP archives. If a
user or automated system were tricked into opening a specially crafted ZIP
archive, a remote attacker could possibly use this issue to overwrite
arbitrary files outside of the intended directory. (CVE-2025-4748)
OSV
CVE-2025-4748: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Trave
osv·2025-06-16·CVSS 4.8
CVE-2025-4748 [MEDIUM] CVE-2025-4748: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Trave
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 until OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 until 7.0.1, 6.2.2.1 and 5.2.3.4.
No detection rules found.
No public exploits indexed.
https://cna.erlef.org/cves/CVE-2025-4748.htmlhttps://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4fhttps://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8fhttps://github.com/erlang/otp/pull/9941https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhchttps://osv.dev/vulnerability/EEF-CVE-2025-4748https://www.erlang.org/doc/system/versions.html#order-of-versionshttp://www.openwall.com/lists/oss-security/2025/06/16/5
2025-06-16
Published