Advisory

USN-8138-1

Also known as: CVE-2026-33056

Summary

rust-tar vulnerability

Details

It was discovered that tar-rs incorrectly handled symlinks when unpacking a
tar archive. If a user or automated system were tricked into processing a
specially crafted tar archive, a remote attacker could use this issue to
modify permissions of arbitrary directories outside the extraction root,
and possibly escalate privileges.

Severity

Not rated by the source.

Dates

Published
2026-04-01 13:35 UTC
Modified
2026-04-27 18:44 UTC

Affected packages and fixes

rust-tar

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.4.37-3ubuntu0.1 (ecosystem)

Fixed versions

0.4.37-3ubuntu0.1

Fix

  • Fixed version 0.4.37-3ubuntu0.1
    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.

rust-tar

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.4.40-1ubuntu0.1 (ecosystem)

Fixed versions

0.4.40-1ubuntu0.1

Fix

  • Fixed version 0.4.40-1ubuntu0.1
    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.

rust-tar

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 0.4.43-4ubuntu0.1 (ecosystem)

Fixed versions

0.4.43-4ubuntu0.1

Fix

  • Fixed version 0.4.43-4ubuntu0.1
    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