CVE-2025-54368 json
uv is vulnerable to ZIP payload obfuscation through parsing differentials
published 2025-08-07 15 mo ago modified 2026-07-07 4 mo ago also EUVD-2025-23970 , GHSA-8qf3-x8v5-2pj8 , PYSEC-2026-2001
- cvss
- 6.8
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
uv is a Python package and project manager written in Rust. In versions 0.8.5 and earlier, remote ZIP archives were handled in a streamwise fashion, and file entries were not reconciled against the archive's central directory. An attacker could contrive a ZIP archive that would extract with legitimate contents on some package installers, and malicious contents on others due to multiple local file entries. An attacker could also contrive a "stacked" ZIP input with multiple internal ZIPs, which would be handled differently by different package installers. The attacker could choose which installer to target in both scenarios. This issue is fixed in version 0.8.6. To work around this issue, users may choose to set UV_INSECURE_NO_ZIP_VALIDATION=1 to revert to the previous behavior.
Patch / fix
- pypi uv 0.8.6
- astral uv 0.8.6
- python-uv openSUSE Tumbleweed 0.8.8-1.1
opensuse advisories openSUSE-SU-2025:15429-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-54368 updated cvss 5.5
uv: uv ZIP Archive Validation Vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | uv | <0.8.6 |
0.8.6 |
Affected products
- astral-sh uv
Classification
References
-
github.com
/astral-sh/uv/commit/7f1eaf48c193e045ca2c62c4581048765c55505f
web, patch
-
github.com
/astral-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8
web
-
astral.sh
/blog/uv-security-advisory-cve-2025-54368
web
-
blog.pypi.org
/posts/2025-08-07-wheel-archive-confusion-attacks
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-54368
advisory
-
github.com
/astral-sh/uv
package
-
pypi.org
/project/uv
package
-
github.com
/advisories/GHSA-8qf3-x8v5-2pj8
advisory
Sources
- CVE List CVE-2025-54368
- GitHub Advisory GHSA-8qf3-x8v5-2pj8
- NVD CVE-2025-54368
- OSV PYSEC-2026-2001
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.