Buffer overflow in Curl

CVE-2025-0725

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

EPSS exploit prediction

EPSS: 0.018 (78.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-0725: rose from 0.013 to 0.018.

EPSS over last 30 days · oldest: 0.013 · newest: 0.018 · change: +0.005

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-0725?
CVE-2025-0725 is a high-severity vulnerability in Curl, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.3/10. Published 2025-02-05.
How severe is CVE-2025-0725?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2025-0725 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.