CVE-2025-4748

Absolute path traversal in zip:unzip/1,2

State
Published
Severity
4.8 Medium
Published
Jun 16, 2025
Updated
Jul 24, 2026
Reserved
May 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:LEEF

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
OTPErlang
  • 2.0 and laterAffectedfrom 7.0.1Not affectedfrom 6.2.2.1Not affectedfrom 5.2.3.4Not affected
OTPErlang
  • 17.0 and laterAffectedfrom 28.0.1Not affectedfrom 27.3.4.1Not affectedfrom 26.2.5.13Not affected
  • 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and laterAffectedfrom d9454dbccbaaad4b8796095c8e653b71b066dfafNot affectedfrom 9b7b5431260e05a16eec3ecd530a232d0995d932Not affectedfrom 0ac548b57c0491196c27e39518b5f6acf9326c1eNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.