CVE-2025-0725

Severity
7.3HIGH
EPSS
0.4%
top 36.73%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 5
Latest updateJul 15

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitability: 3.9 | Impact: 3.4

Affected Packages5 packages

NVDhaxx/libcurl7.10.58.12.0
NVDhaxx/curl7.10.58.12.0
Alpinecurl< 8.12.0-r0+5
Debiancurl< 8.12.0+git20250209.89ed161+ds-1+1
CVEListV5curl/curl8.11.18.11.1+161

Patches

🔴Vulnerability Details

4
OSV
CVE-2025-0725: When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the `CURLOPT_ACCEPT_ENCODING` option, **using zli2025-02-05
CVEList
gzip integer overflow2025-02-05
GHSA
GHSA-vvqh-cqpj-5537: When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the `CURLOPT_ACCEPT_ENCODING` option, **using zli2025-02-05
OSV
CVE-2025-0725: When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the `CURLOPT_ACCEPT_ENCODING` option, **using zli2025-02-05

📋Vendor Advisories

4
Oracle
Oracle Oracle Commerce Risk Matrix: Forge (curl) — CVE-2025-07252025-07-15
Microsoft
gzip integer overflow2025-02-11
Red Hat
libcurl: Buffer Overflow in libcurl via zlib Integer Overflow2025-02-05
Debian
CVE-2025-0725: curl - When libcurl is asked to perform automatic gzip decompression of content-encoded...2025

💬Community

2
HackerOne
CVE-2025-0725: Heap overflow in curl with Content-Encoding gzip and old libz versions2025-04-27
HackerOne
CVE-2025-0725: gzip integer overflow2025-02-05