# CVE-2025-4748: Absolute path traversal in zip:unzip/1,2

- Severity: Medium 4.8 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-06-16T11:00:54.643Z
- Modified: 2026-11-25T06:30:10.448Z
- Also known as: EEF-CVE-2025-4748, GHSA-9g37-pgj9-wrhc
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- stdlib: from 2.0 before *
- otp: from 17.0 before *
- erlang/otp: from 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before *
- https://github.com/erlang/otp: from 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before 578d4001575aa7647ea1efd4b2b7e3afadcc99a5; before 5a55feec10c9b69189d56723d8f237afa58d5d4f; before ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f

## Every score

- EEF: CVSS:4.0 4.8 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2025-4748.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2025-4748> (related)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (web)
- <https://github.com/erlang/otp/pull/9941> (fix, patch)
- <https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79> (related, web)
- <https://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5> (fix, patch)
- <https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f> (fix, patch)
- <https://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f> (fix, patch)
- <http://www.openwall.com/lists/oss-security/2025/06/16/5>

## Sources

- CVE List: [CVE-2025-4748](https://www.cve.org/CVERecord?id=CVE-2025-4748), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2025-4748](https://osv.dev/vulnerability/EEF-CVE-2025-4748), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2025-4748](https://nvd.nist.gov/vuln/detail/CVE-2025-4748), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2025-4748 · Whole record: https://cve.day/CVE-2025-4748.json · Rebuilt by cve.day 2026-11-25T22:58:59.240Z
