p PatchFirst

CVE-2025-54368

CVE-2025-54368 · uv is vulnerable to ZIP payload obfuscation through parsing differentials

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.8 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • uv

    Versions
    • < 0.8.6: Affected

    No fix published

  • uv PyPI

    Versions
    • 0.0.5
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.16
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.2
    • 0.1.20
    • 0.1.21
    • 0.1.22
    • 0.1.23
    • 0.1.24
    • 0.1.25
    • 0.1.26
    • 0.1.27
    • 0.1.28
    • 0.1.29
    • 0.1.3
    • 0.1.30
    • 0.1.31
    • 0.1.32
    • 0.1.33
    • 0.1.34
    • 0.1.35
    • 0.1.36
    • 0.1.37
    • 0.1.38
    • 0.1.39
    • 0.1.4
    • 0.1.40
    • 0.1.41
    • 0.1.42
    • 0.1.43
    • 0.1.44
    • 0.1.45
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.2.1
    • 0.2.10
    • 0.2.11
    • 0.2.12
    • 0.2.13
    • 0.2.14
    • 0.2.15
    • 0.2.16
    • 0.2.17
    • 0.2.18
    • 0.2.19
    • 0.2.2
    • 0.2.20
    • 0.2.21
    • 0.2.22
    • 0.2.23
    • 0.2.24
    • 0.2.25
    • 0.2.26
    • 0.2.27
    • 0.2.28
    • 0.2.29
    • 0.2.3
    • 0.2.30
    • 0.2.31
    • 0.2.32
    • 0.2.33
    • 0.2.34
    • 0.2.35
    • 0.2.36
    • 0.2.37
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    • 0.2.9
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.4.0
    • 0.4.1
    • 0.4.10
    • 0.4.11
    • 0.4.12
    • 0.4.13
    • 0.4.14
    • 0.4.15
    • 0.4.16
    • 0.4.17
    • 0.4.18
    • 0.4.19
    • 0.4.2
    • 0.4.20
    • 0.4.21
    • 0.4.22
    • 0.4.23
    • 0.4.24
    • 0.4.25
    • 0.4.26
    • 0.4.27
    • 0.4.28
    • 0.4.29
    • 0.4.3
    • 0.4.30
    • 0.4.4
    • 0.4.5
    • 0.4.6
    • 0.4.7
    • 0.4.8
    • 0.4.9
    • 0.5.0
    • 0.5.1
    • 0.5.10
    • 0.5.11
    • 0.5.12
    • 0.5.13
    • 0.5.14
    • 0.5.15
    • 0.5.16
    • 0.5.17
    • 0.5.18
    • 0.5.19
    • 0.5.2
    • 0.5.20
    • 0.5.21
    • 0.5.22
    • 0.5.23
    • 0.5.24
    • 0.5.25
    • 0.5.26
    • 0.5.27
    • 0.5.28
    • 0.5.29
    • 0.5.3
    • 0.5.30
    • 0.5.31
    • 0.5.4
    • 0.5.5
    • 0.5.6
    • 0.5.7
    • 0.5.8
    • 0.5.9
    • 0.6.0
    • 0.6.1
    • 0.6.10
    • 0.6.11
    • 0.6.12
    • 0.6.13
    • 0.6.14
    • 0.6.15
    • 0.6.16
    • 0.6.17
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.6.5
    • 0.6.6
    • 0.6.7
    • 0.6.8
    • 0.6.9
    • 0.7.0
    • 0.7.1
    • 0.7.10
    • 0.7.11
    • 0.7.12
    • 0.7.13
    • 0.7.14
    • 0.7.15
    • 0.7.16
    • 0.7.17
    • 0.7.18
    • 0.7.19
    • 0.7.2
    • 0.7.20
    • 0.7.21
    • 0.7.22
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.7.8
    • 0.7.9
    • 0.8.0
    • 0.8.1
    • 0.8.2
    • 0.8.3
    • 0.8.4
    • 0.8.5
    Affected ranges
    • ECOSYSTEM: < 0.8.6

    Update to 0.8.6

Original sources

Check your server →