Advisory

UBUNTU-CVE-2026-47078

Also known as: CVE-2026-47078

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-07-27 16:17 UTC
Modified
2026-10-08 19:46 UTC

Affected packages and fixes

erlang

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:24.2.1+dfsg-1ubuntu0.8 (ecosystem)

Fixed versions

1:24.2.1+dfsg-1ubuntu0.8

Fix

  • Fixed version 1:24.2.1+dfsg-1ubuntu0.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

erlang

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:25.3.2.8+dfsg-1ubuntu4.8 (ecosystem)

Fixed versions

1:25.3.2.8+dfsg-1ubuntu4.8

Fix

  • Fixed version 1:25.3.2.8+dfsg-1ubuntu4.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

erlang

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1:27.3.4.6+dfsg-1ubuntu0.2 (ecosystem)

Fixed versions

1:27.3.4.6+dfsg-1ubuntu0.2

Fix

  • Fixed version 1:27.3.4.6+dfsg-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences