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

Published Jun 16, 2025
·
Updated

Absolute path traversal in zip:unzip/1,2

Other sources

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.

MITRE

Affected Software

7 affected componentsFixes available
Erlang OTP>=17.0<28.0.1
Erlang stdlib>=2.0<7.0.1
Microsoft azl3 erlang 26.2.5.13-1<26.2.5.13-1
26.2.5.13-1
Microsoft azl3 erlang 26.2.5.20-1<26.2.5.13-1
26.2.5.13-1
Microsoft azl3 erlang 26.2.5.18-1<26.2.5.13-1
26.2.5.13-1
Microsoft azl3 erlang 26.2.5.17-1<26.2.5.13-1
26.2.5.13-1
Microsoft cbl2 erlang 25.3.2.21-2<25.3.2.21-2
25.3.2.21-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.13-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.3.2.21-2
  3. Upgrade

    Upgrade Erlang/OTP stdlib zip to a version that resolves this vulnerability.

    Fixed in 28.0.1
  4. Upgrade

    Upgrade Erlang/OTP stdlib zip to a version that resolves this vulnerability.

    Fixed in 27.3.4.1
  5. Upgrade

    Upgrade Erlang/OTP stdlib zip to a version that resolves this vulnerability.

    Fixed in 26.2.5.13
  6. Configuration

    For zip:unzip/1, zip:unzip/2, zip:extract/1, and zip:extract/2, ensure the memory option is passed to avoid the vulnerable behavior described for these functions when the memory option is not passed.

    Erlang/OTP stdlib zip:extract (zip.erl) memory option = pass memory option

Event History

Jun 16, 2025
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Aug 6, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4748?

CVE-2025-4748 has a high severity rating due to the potential for absolute path traversal and file manipulation.

2

How do I fix CVE-2025-4748?

To fix CVE-2025-4748, upgrade to the latest version of Erlang OTP and stdlib that address this vulnerability.

3

Which versions of Erlang OTP are affected by CVE-2025-4748?

CVE-2025-4748 affects Erlang OTP versions from 17.0 to 28.0.1.

4

What types of vulnerabilities are associated with CVE-2025-4748?

CVE-2025-4748 is associated with a path traversal vulnerability that allows manipulation of files.

5

Which components are specifically impacted by CVE-2025-4748?

CVE-2025-4748 specifically impacts the zip.erl module within the Erlang standard library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203