What’s Vulnerable › Vulnerabilities

CVE-2025-0725: gzip integer overflow

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 products

How to fix

Upgrade to a fixed version: curl 8.12.0; curl 8.12.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-0725 or the next vulnerability affects your stack