We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-54368

uv is vulnerable to ZIP payload obfuscation through parsing differentials



Description

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.

Reserved 2025-07-21 | Published 2025-08-08 | Updated 2025-08-08 | Assigner GitHub_M


MEDIUM: 6.8CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-436: Interpretation Conflict

CWE-20: Improper Input Validation

Product status

< 0.8.6
affected

References

github.com/...-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8

github.com/...ommit/7f1eaf48c193e045ca2c62c4581048765c55505f

astral.sh/blog/uv-security-advisory-cve-2025-54368

blog.pypi.org/.../2025-08-07-wheel-archive-confusion-attacks

cve.org (CVE-2025-54368)

nvd.nist.gov (CVE-2025-54368)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-54368

Support options

Helpdesk Chat, Email, Knowledgebase