Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CVE-2025-0725
Summary
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. This vulnerability affects libcurl, and curl packages versions 7.10.5 through 8.11.1.
- LOW
- NETWORK
- LOW
- UNCHANGED
- NONE
- NONE
- LOW
- LOW
CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Advisory Timeline
- Published