{"schemaVersion":3,"id":"CVE-2025-4748","aliases":["SUSE-SU-2025:02331-1","SUSE-SU-2025:02332-1","UBUNTU-CVE-2025-4748","DEBIAN-CVE-2025-4748"],"status":"published","duplicateOf":null,"title":null,"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.\n\nThis issue affects OTP from OTP 17.0 before OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 before 7.0.1, 6.2.2.1 and 5.2.3.4.","dates":{"published":"2025-06-16T11:00:54.643Z","modified":"2026-07-24T14:13:54.963Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.8,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":4.8,"severity":"medium","vector":"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/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.8,"severity":"medium","vector":"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/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00292,"percentile":0.2044,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00292},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00292,"percentile":0.2044}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00292,"percentile":0.2044}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/erlang","purlType":"deb","versions":[{"text":"< 1:25.2.3+dfsg-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:27.3.4.1+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:25.2.3+dfsg-1+deb12u2 | < 1:27.3.4.1+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/erlang","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:18.3-dfsg-1ubuntu3.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:20.2.2+dfsg-1ubuntu2+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:22.2.7+dfsg-1ubuntu0.5+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:24.2.1+dfsg-1ubuntu0.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:25.3.2.8+dfsg-1ubuntu4.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:27.3.4.1+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:18.3-dfsg-1ubuntu3.1+esm4 | < 1:20.2.2+dfsg-1ubuntu2+esm4 | < 1:22.2.7+dfsg-1ubuntu0.5+esm3 | < 1:24.2.1+dfsg-1ubuntu0.5 | < 1:25.3.2.8+dfsg-1ubuntu4.4 | < 1:27.3.4.1+dfsg-1","eol":null,"hubHref":null},{"vendor":"erlang","product":"otp","name":"OTP","label":"otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0","noFixRecorded":true,"fixedIn":null},{"text":"≥ 17.0","noFixRecorded":true,"fixedIn":null},{"text":"≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 2.0 (No fix recorded) | ≥ 17.0 (No fix recorded) | ≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (No fix recorded)","eol":null,"hubHref":"/vendor/erlang/otp"},{"vendor":"opensuse","product":"erlang26&distro=openSUSE Leap 15.6","name":"erlang26","label":"erlang26&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/erlang26&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 26.2.1-150300.7.14.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.2.1-150300.7.14.3","eol":null,"hubHref":null},{"vendor":"opensuse","product":"erlang&distro=openSUSE Leap 15.6","name":"erlang","label":"erlang&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/erlang&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 23.3.4.19-150300.3.23.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.3.4.19-150300.3.23.3","eol":null,"hubHref":null},{"vendor":"suse","product":"erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","name":"erlang26","label":"erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","purlType":"rpm","versions":[{"text":"< 26.2.1-150300.7.14.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.2.1-150300.7.14.3","eol":null,"hubHref":null},{"vendor":"suse","product":"erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","name":"erlang26","label":"erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/erlang26&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","purlType":"rpm","versions":[{"text":"< 26.2.1-150300.7.14.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.2.1-150300.7.14.3","eol":null,"hubHref":null},{"vendor":"suse","product":"erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","name":"erlang","label":"erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6","purlType":"rpm","versions":[{"text":"< 23.3.4.19-150300.3.23.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.3.4.19-150300.3.23.3","eol":null,"hubHref":null},{"vendor":"suse","product":"erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","name":"erlang","label":"erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/erlang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7","purlType":"rpm","versions":[{"text":"< 23.3.4.19-150300.3.23.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.3.4.19-150300.3.23.3","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc","label":"github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc","hostname":"github.com","tags":["Vendor Advisory","Related","REPORT"]},{"url":"https://cna.erlef.org/cves/CVE-2025-4748.html","label":"cna.erlef.org/cves/CVE-2025-4748.html","hostname":"cna.erlef.org","tags":["Related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-4748","label":"osv.dev/vulnerability/EEF-CVE-2025-4748","hostname":"osv.dev","tags":["Related"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","label":"www.erlang.org/doc/system/versions.html","hostname":"www.erlang.org","tags":["X Version Scheme","REPORT"]},{"url":"https://github.com/erlang/otp/pull/9941","label":"github.com/erlang/otp/pull/9941","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f","label":"github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f","label":"github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5","label":"github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5","hostname":"github.com","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2025/06/16/5","label":"www.openwall.com/lists/oss-security/2025/06/16/5","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202502331-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-202502331-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1244642","label":"bugzilla.suse.com/1244642","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-4748","label":"www.suse.com/security/cve/CVE-2025-4748","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202502332-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-202502332-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-4748","label":"ubuntu.com/security/CVE-2025-4748","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-4748","label":"www.cve.org/CVERecord?id=CVE-2025-4748","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7656-1","label":"ubuntu.com/security/notices/USN-7656-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8901-1","label":"ubuntu.com/security/notices/USN-8901-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-4748","label":"security-tracker.debian.org/tracker/CVE-2025-4748","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4748","label":"nvd.nist.gov/vuln/detail/CVE-2025-4748","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4376-1","OPENSUSE-SU-2026:10947-1","OPENSUSE-SU-2026:20907-1","SUSE-SU-2026:22082-1","USN-7656-1","USN-8901-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10947-1","OPENSUSE-SU-2026:20907-1","SUSE-SU-2026:22082-1","USN-7656-1","USN-8901-1"]},"timeline":[{"kind":"published","date":"2025-06-16T11:00:54.643Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-24T14:13:54.963Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:39:35.674Z","stale":false,"partial":false}}