7.3
CWE
680 119 190
Advisory Published
CVE Published
Updated

CVE-2025-0725: gzip integer overflow

First published: Wed Feb 05 2025(Updated: )

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.

Credit: 2499f714-1537-4658-8207-48ae4bb9eae9

Affected SoftwareAffected VersionHow to fix
curl libcurl<1.2.0.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-0725?

    CVE-2025-0725 has a critical severity due to the potential for an integer overflow leading to a buffer overflow.

  • How do I fix CVE-2025-0725?

    To fix CVE-2025-0725, upgrade your libcurl to a version later than 1.2.0.3.

  • What versions of libcurl are affected by CVE-2025-0725?

    CVE-2025-0725 affects libcurl versions 1.2.0.3 and older.

  • What security risks does CVE-2025-0725 pose?

    CVE-2025-0725 can allow attackers to execute arbitrary code through a buffer overflow exploit.

  • Is it safe to use libcurl versions newer than 1.2.0.3 in relation to CVE-2025-0725?

    Yes, using versions of libcurl newer than 1.2.0.3 mitigates the vulnerability identified in CVE-2025-0725.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203