Skip to main content
CVE-2026-47078VulnerabilityPublished Updated

Erlang OTP (stdlib zip module) · Relative Path Traversal Vulnerability

Affects erlangSource GCVE Database

0
Compare
Authoritative record:CVE-2026-47078· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium · fixed in 1:20.2.2+dfsg-1ubuntu2+esm4 : update erlang when convenient.

Data as of 24 Nov 2026, 20:42 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.04.8
Patch
Available – fixed in 1:20.2.2+dfsg-1ubuntu2+esm4, 1:22.2.7+dfsg-1ubuntu0.5+esm3, 1:24.2.1+dfsg-1ubuntu0.8 +2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=resoluteOther threatsAffected
  • <1:27.3.4.6+dfsg-1ubuntu0.2
Fixed in
  • 1:27.3.4.6+dfsg-1ubuntu0.2
Ubuntu 24.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=nobleOther threatsAffected
  • <1:25.3.2.8+dfsg-1ubuntu4.8
Fixed in
  • 1:25.3.2.8+dfsg-1ubuntu4.8
Ubuntu 22.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=jammyOther threatsAffected
  • <1:24.2.1+dfsg-1ubuntu0.8
  • =1:24.2+dfsg-1
Fixed in
  • 1:24.2.1+dfsg-1ubuntu0.8
Ubuntu Pro 20.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1:22.2.7+dfsg-1ubuntu0.5+esm3
  • =1:22.2+dfsg-1
Fixed in
  • 1:22.2.7+dfsg-1ubuntu0.5+esm3
Ubuntu Pro 18.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1:20.2.2+dfsg-1ubuntu2+esm4
Fixed in
  • 1:20.2.2+dfsg-1ubuntu2+esm4
Ubuntu Pro 16.04 LTSerlangpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 1:18.0-dfsg-1ubuntu1 – 1:18.3-dfsg-1ubuntu3.1+esm4
11 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Relative Path Traversal vulnerability in Erlang OTP (stdlib zip module) allows writing files outside the intended extraction directory via a crafted zip archive. zip:unzip/1,2 and zip:extract/1,2 validate entry paths using zip:check_dir_level/2, which tracks directory depth as a running integer counter: .. decrements it, normal path components increment it. The caller rejects only paths where the final counter value is less than zero. A path such as ../x/y causes the counter to go negative mid-traversal then recover to zero, passing validation while resolving to a location outside the extraction directory when joined with the current working directory via add_cwd. This vulnerability is associated with program file lib/stdlib/src/zip.erl. This issue affects OTP from OTP 27.1 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to stdlib from 6.1 before 6.2.2.4, 7.3.0.1, and 8.0.3.

References

Community reviews

Loading reviews…