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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 8.12.0-r0 | ALPINE-CVE-2025-0725 |
| Alpine:v3.21 | curl | 8.12.0-r0 | ALPINE-CVE-2025-0725 |
| Alpine:v3.22 | curl | 8.12.0-r0 | ALPINE-CVE-2025-0725 |
| Alpine:v3.23 | curl | 8.12.0-r0 | ALPINE-CVE-2025-0725 |
| Alpine:v3.24 | curl | 8.12.0-r0 | ALPINE-CVE-2025-0725 |
| Debian:12 | curl | no fix listed | DEBIAN-CVE-2025-0725 |
| Debian:13 | curl | 8.12.0+git20250209.89ed161+ds-1 | DEBIAN-CVE-2025-0725 |
| Debian:14 | curl | 8.12.0+git20250209.89ed161+ds-1 | DEBIAN-CVE-2025-0725 |
Affected products (as reported)
References
- json
- www
- issue
- http://www.openwall.com/lists/oss-security/2025/02/05/3
- http://www.openwall.com/lists/oss-security/2025/02/06/2
- http://www.openwall.com/lists/oss-security/2025/02/06/4
- https://security.netapp.com/advisory/ntap-20250306-0009/
- https://github.com/curl/curl/commit/76f83f0db23846e254d940ec7
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html