CVE-2025-13327: Uv Uv Has ZIP Payload Obfuscation Vulnerability

MODERATE
Advisory Identifier: GHSA-v653-r55g-hcmg
CVSS 6.3
CWE-1286
Published
Advisory Summary

CVE-2025-13327 is a MODERATE (CVSS 6.3) uv has zip payload obfuscation vulnerability (CWE-1286: Improper Validation of Syntactic Correctness of Input) affecting Uv libraries in the crates.io ecosystem. The issue involves uv has zip payload obfuscation through parsing differentials. Remediation is available by upgrading affected packages to version 0.9.6.

CVE-2025-13327 at a Glance

CVE Identifier CVE-2025-13327
GHSA Identifier GHSA-v653-r55g-hcmg
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-1286: Improper Validation of Syntactic Correctness of Input
Affected Product Uv
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-13327

To remediate this vulnerability, upgrade all affected Uv dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

uv fixed: 0.9.6
Upgrade uv to 0.9.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for uv

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-13327, inspect your project dependencies for Uv:

inspect dependencies for uv

Analyze the terminal output to locate any version of Uv in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1286: Improper Validation of Syntactic Correctness of Input, where the product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax. In Uv, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A flaw was found in uv. This vulnerability allows an attacker to execute malicious code during package resolution or installation via specially crafted ZIP (Zipped Information Package) archives that exploit parsing differentials, requiring user interaction to install an attacker-controlled package.

CVE-2025-13327 Affected Uv Versions

1 component(s)
Fixed Versions:
0.9.6
Product / Package Ecosystem Affected Versions Fixed Version
uv
crates.io
< 0.9.6
0.9.6

References

Frequently Asked Questions

What is CVE-2025-13327?
CVE-2025-13327 is a security vulnerability in Uv involving uv has ZIP payload obfuscation through parsing differentials under CWE-1286: Improper Validation of Syntactic Correctness of Input.
Which Uv versions are affected?
Affected versions include releases prior to 0.9.6 across affected packages: uv.
What version fixes CVE-2025-13327?
Upgrading to 0.9.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is uv affected?
Yes, uv is affected in releases prior to 0.9.6. Upgrade your dependency to 0.9.6 or later.
What is the CVSS score of CVE-2025-13327?
CVE-2025-13327 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-13327?
CVE-2025-13327 is classified under CWE-1286: Improper Validation of Syntactic Correctness of Input (The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.).
How can I check crates.io dependencies for CVE-2025-13327?
Run the dependency tree command: 'inspect dependencies for uv'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v653-r55g-hcmg",
  "modified" : "2026-03-01T01:03:07Z",
  "published" : "2026-02-27T09:30:29Z",
  "aliases" : [ "CVE-2025-13327" ],
  "summary" : "uv has ZIP payload obfuscation through parsing differentials",
  "details" : "A flaw was found in uv. This vulnerability allows an attacker to execute malicious code during package resolution or installation via specially crafted ZIP (Zipped Information Package) archives that exploit parsing differentials, requiring user interaction to install an attacker-controlled package.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "uv"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/astral-sh/uv/security/advisories/GHSA-pqhf-p39g-3x64"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13327"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/astral-sh/uv/commit/da659fee4898a73dbc75070f3e82d49f745e4628"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-13327"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2407263"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/astral-sh/uv"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1286" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-01T01:03:07Z",
    "nvd_published_at" : "2026-02-27T08:17:04Z"
  }
}