Vulnerability · Published Jun 16, 2025 · Assigned by EEF

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

Medium 4.8

In plain English

A medium-severity path traversal in OTP from Erlang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.8Medium
Exploit odds (30 days)0.3%top 78.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12erlang1:25.2.3+dfsg-1+deb12u2DEBIAN-CVE-2025-4748
Debian:13erlang1:27.3.4.1+dfsg-1DEBIAN-CVE-2025-4748
Debian:14erlang1:27.3.4.1+dfsg-1DEBIAN-CVE-2025-4748
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.5USN-7656-1
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.8USN-8901-1
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.5UBUNTU-CVE-2025-4748
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.8USN-8901-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.4USN-7656-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.4UBUNTU-CVE-2025-4748
Ubuntu:25.10erlang1:27.3.4.1+dfsg-1UBUNTU-CVE-2025-4748
Ubuntu:26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.2USN-8901-1

Affected products (as reported)

VendorProductVersions
Erlang OTP 2.0 – before *
Erlang OTP 17.0 – before *07b8f441ca711f9812fad9e9115bab3c3aa92f79 – before *

Weakness: CWE-22 · 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

References