CVE-2025-4748
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 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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 28.0.1-1 | |
| debian | bookworm | fixed | 1:25.2.3+dfsg-1+deb12u2 |
| debian | bullseye | fixed | 1:23.2.6+dfsg-1+deb11u3 |
| debian | forky | fixed | 1:27.3.4.1+dfsg-1 |
| debian | sid | fixed | 1:27.3.4.1+dfsg-1 |
| debian | trixie | fixed | 1:27.3.4.1+dfsg-1 |
| sles | affected | |
References
- https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc
- https://cna.erlef.org/cves/CVE-2025-4748.html
- https://osv.dev/vulnerability/EEF-CVE-2025-4748
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/pull/9941
- https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f
- https://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f
- https://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5
- https://security-tracker.debian.org/tracker/CVE-2025-4748
- https://www.suse.com/security/cve/CVE-2025-4748.html
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.