CVE-2025-62518CWE-843

CVE-2025-62518

High · published October 21, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
52.7
In the wild
Unconfirmed
What it is

⚡ A sneaky boundary parsing vulnerability in astral-tokio-tar could let attackers smuggle extra archive entries! Think of it like a restaurant that misreads a customer's order — instead of serving the right dish, it mistakenly brings out unintended extras because it relied on old menu specifications instead of the new ones. This flaw lets attackers inject data into archives under the radar! An attacker could exploit this to insert malicious files into a tar archive, potentially leading to unauthorized access or data corruption. This is absolutely devastating if sensitive information is slipped in unnoticed!

Put simply

Think of it like a restaurant that misreads a customer's order — instead of serving the right dish, it mistakenly brings out unintended extras because it relied on old menu specifications instead of the new ones. This flaw lets attackers inject data into archives under the radar! This vulnerability stems from the library mismanaging PAX and ustar header sizes, allowing attackers to manipulate archive content improperly. When the parser encounters a PAX header with a size override, it incorrectly processes it based on the often-zero ustar header size, treating malicious content as legitimate headers.

What to do

An attacker could exploit this to insert malicious files into a tar archive, potentially leading to unauthorized access or data corruption. This is absolutely devastating if sensitive information is slipped in unnoticed! Upgrade to version 0.5.6 of astral-tokio-tar immediately to patch this vulnerability. Ensure that any tar archive handling in your Rust applications utilizes this fixed version to prevent exploitation. There are no workarounds, so timely action is essential! You've got this! Just follow the steps, and you'll keep your code secure and your users happy! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00703 · 52.7th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2025-10-21T21:15Z
References (5)
EPSS history
Timeline
  • 21 OCT 16:13Z
    astral-tokio-tar Vulnerable to PAX Header Desynchronization
    cvelistv5