UBUNTU-CVE-2025-62518

Source
https://ubuntu.com/security/CVE-2025-62518
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62518.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-62518
Upstream
Published
2025-10-21T17:15:00Z
Modified
2025-10-30T05:25:20Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives with PAX-extended headers containing size overrides, the parser incorrectly advances stream position based on ustar header size (often zero) instead of the PAX-specified size, causing it to interpret file content as legitimate tar headers. This issue has been patched in version 0.5.6. There are no workarounds.

References

Affected packages

Ubuntu:25.10 / rust-astral-tokio-tar

Package

Name
rust-astral-tokio-tar
Purl
pkg:deb/ubuntu/rust-astral-tokio-tar@0.5.2-2?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.5.1-1
0.5.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.5.2-2",
            "binary_name": "librust-astral-tokio-tar-dev"
        }
    ]
}

Ubuntu:25.04 / rust-astral-tokio-tar

Package

Name
rust-astral-tokio-tar
Purl
pkg:deb/ubuntu/rust-astral-tokio-tar@0.5.1-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.5.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.5.1-1",
            "binary_name": "librust-astral-tokio-tar-dev"
        }
    ]
}