Buffer Overflow Affecting curl package, versions <8.12.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.44% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-CURL-15381175
  • published4 Mar 2026
  • disclosed5 Feb 2025

Introduced: 5 Feb 2025

CVE-2025-0725  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Wolfi curl to version 8.12.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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 Base Scores

version 3.1