{"id":"CVE-2025-4748","summary":"Absolute path traversal in zip:unzip/1,2","details":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.\n\nThis 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.\n\nThis 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.","aliases":["EEF-CVE-2025-4748","GHSA-9g37-pgj9-wrhc"],"modified":"2026-11-12T05:00:34.510700848Z","published":"2025-06-16T11:00:54.643Z","related":["SUSE-SU-2025:02331-1","SUSE-SU-2025:02332-1","SUSE-SU-2026:22082-1","openSUSE-SU-2026:10947-1","openSUSE-SU-2026:20907-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"ChangesAt","range":[{"introduced":"17.0"},{"fixed":"26.2.5.13"},{"introduced":"2.0"},{"fixed":"5.2.3.4"}]}]}],"cna_assigner":"EEF","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4748.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/16/5"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2025-4748.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2025-4748"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4748.json"},{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4748"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f"},{"type":"FIX","url":"https://github.com/erlang/otp/pull/9941"},{"type":"PACKAGE","url":"https://github.com/erlang/otp"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/otp","events":[{"introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"fixed":"578d4001575aa7647ea1efd4b2b7e3afadcc99a5"},{"fixed":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"fixed":"ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f"},{"fixed":"5a55feec10c9b69189d56723d8f237afa58d5d4f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"fixed":"578d4001575aa7647ea1efd4b2b7e3afadcc99a5"}],"source":"AFFECTED_FIELD","strategy":"ChangesAt"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"}]},{"range":[{"fixed":"578d4001575aa7647ea1efd4b2b7e3afadcc99a5"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f"}]},{"range":[{"fixed":"5a55feec10c9b69189d56723d8f237afa58d5d4f"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-4748.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}