cve.bz

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

4.8 mediumEPSS 0.3%Fix available

Medium (4.8) in erlang otp. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-06-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Erlang OTP: fixed in 5.2.3.4
  • Erlang OTP: fixed in 6.2.2.1
  • Erlang OTP: fixed in 7.0.1
  • Erlang OTP: fixed in 26.2.5.13
  • Erlang OTP: fixed in 27.3.4.1
  • Erlang OTP: fixed in 28.0.1
  • Debian, Ubuntu, SUSE, openSUSE, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-4748 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4748?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4748?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4748 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Erlang OTP2.0 and later
Erlang OTP17.0 and later

Fixed in

ProductFixed in
Erlang OTP5.2.3.4
Erlang OTP6.2.2.1
Erlang OTP7.0.1
Erlang OTP26.2.5.13
Erlang OTP27.3.4.1
Erlang OTP28.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11erlang1:23.2.6+dfsg-1+deb11u3DLA-4376-1
Debian12erlang1:25.2.3+dfsg-1+deb12u2DEBIAN-CVE-2025-4748
Debian13, 14erlang1:27.3.4.1+dfsg-1DEBIAN-CVE-2025-4748
Ubuntu22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.5UBUNTU-CVE-2025-4748 USN-7656-1 USN-8901-1
Ubuntu24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.4UBUNTU-CVE-2025-4748 USN-7656-1 USN-8901-1
Ubuntu25.10erlang1:27.3.4.1+dfsg-1UBUNTU-CVE-2025-4748
Ubuntu26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.2USN-8901-1
UbuntuPro:14.04:LTSerlangno fix listedUBUNTU-CVE-2025-4748 USN-8901-1
UbuntuPro:16.04:LTSerlang1:18.3-dfsg-1ubuntu3.1+esm4UBUNTU-CVE-2025-4748 USN-8901-1
UbuntuPro:18.04:LTSerlang1:20.2.2+dfsg-1ubuntu2+esm4UBUNTU-CVE-2025-4748 USN-8901-1
UbuntuPro:20.04:LTSerlang1:22.2.7+dfsg-1ubuntu0.5+esm3UBUNTU-CVE-2025-4748 USN-8901-1
SUSELinux Enterprise Module for Server Applications 15 SP6, Linux Enterprise Module for Server Applications 15 SP7erlang23.3.4.19-150300.3.23.3SUSE-SU-2025:02332-1
SUSELinux Enterprise Module for Server Applications 15 SP6, Linux Enterprise Module for Server Applications 15 SP7erlang2626.2.1-150300.7.14.3SUSE-SU-2025:02331-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0erlang27.1.3-160000.5.1SUSE-SU-2026:22082-1
openSUSELeap 15.6erlang23.3.4.19-150300.3.23.3SUSE-SU-2025:02332-1
openSUSELeap 15.6erlang2626.2.1-150300.7.14.3SUSE-SU-2025:02331-1
openSUSELeap 16.0erlang27.1.3-160000.5.1openSUSE-SU-2026:20907-1
openSUSETumbleweederlang2727.1.3-2.1openSUSE-SU-2026:10947-1
Azure Linux2erlang25.3.2.21-2AZL-64068
Azure Linux3erlang26.2.5.13-1AZL-64073

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON