Vulnerability · Published Feb 5, 2025 · Assigned by curl

CVE-2025-0725gzip integer overflow

High 7.3

In plain English

A high-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.8%top 21.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the `CURLOPT_ACCEPT_ENCODING` option, **using zlib 1.2.0.3 or older**, an attacker-controlled integer overflow would make libcurl perform a buffer overflow.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.12.0-r0ALPINE-CVE-2025-0725
Alpine:v3.21curl8.12.0-r0ALPINE-CVE-2025-0725
Alpine:v3.22curl8.12.0-r0ALPINE-CVE-2025-0725
Alpine:v3.23curl8.12.0-r0ALPINE-CVE-2025-0725
Alpine:v3.24curl8.12.0-r0ALPINE-CVE-2025-0725
Debian:12curlno fix listedDEBIAN-CVE-2025-0725
Debian:13curl8.12.0+git20250209.89ed161+ds-1DEBIAN-CVE-2025-0725
Debian:14curl8.12.0+git20250209.89ed161+ds-1DEBIAN-CVE-2025-0725

Affected products (as reported)

VendorProductVersions
curl curl 8.11.1 – through 8.11.18.11.0 – through 8.11.08.10.1 – through 8.10.18.10.0 – through 8.10.08.9.1 – through 8.9.18.9.0 – through 8.9.08.8.0 – through 8.8.08.7.1 – through 8.7.1

References