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.
https://hackerone.com/reports/2956023
https://curl.se/docs/CVE-2025-0725.json
https://curl.se/docs/CVE-2025-0725.html