Ubuntu CVE Tracker
UBUNTU-CVE-2025-4748
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | erlang | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | erlang | All versions before 1:18.3-dfsg-1ubuntu3.1+esm4 (fixed in 1:18.3-dfsg-1ubuntu3.1+esm4) |
| Ubuntu:Pro:18.04:LTS | erlang | All versions before 1:20.2.2+dfsg-1ubuntu2+esm4 (fixed in 1:20.2.2+dfsg-1ubuntu2+esm4) |
| Ubuntu:Pro:20.04:LTS | erlang | All versions before 1:22.2.7+dfsg-1ubuntu0.5+esm3 (fixed in 1:22.2.7+dfsg-1ubuntu0.5+esm3) |
| Ubuntu:22.04:LTS | erlang | All versions before 1:24.2.1+dfsg-1ubuntu0.5 (fixed in 1:24.2.1+dfsg-1ubuntu0.5) |
| Ubuntu:24.04:LTS | erlang | All versions before 1:25.3.2.8+dfsg-1ubuntu4.4 (fixed in 1:25.3.2.8+dfsg-1ubuntu4.4) |
| Ubuntu:25.10 | erlang | All versions before 1:27.3.4.1+dfsg-1 (fixed in 1:27.3.4.1+dfsg-1) |
References
- https://ubuntu.com/security/CVE-2025-4748
- https://www.cve.org/CVERecord?id=CVE-2025-4748
- https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc
- https://github.com/erlang/otp/pull/9941
- http://www.openwall.com/lists/oss-security/2025/06/16/5
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://ubuntu.com/security/notices/USN-7656-1
- https://ubuntu.com/security/notices/USN-8901-1