VulnarioBlogcurl vulnerabilities

curl Vulnerabilities: The 10 Most Critical curl Security Bugs (CVEs)

curl vulnerabilities are security flaws in curl that attackers can abuse to steal data, take over a server or interrupt a service. curl and libcurl transfer data over HTTP and dozens of other protocols, and ship in almost every operating system. The National Vulnerability Database (NVD) lists 214 CVEs for curl, 41 of them rated critical, and 46 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical curl security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers curl security basics and a free way to be told about the next curl CVE as soon as it is published.

Key takeaways

  • No curl CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 41 curl CVEs are rated critical (CVSS v3), and 46 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-19931, published Sep 6, 2026.
  • You can monitor curl for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these curl CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical curl CVEs at a glance

Most critical curl vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2026-199319.8 Critical2026-09-06Critical security flawNo
2CVE-2026-105369.8 Critical2026-07-03Use after freeNo
3CVE-2026-118569.8 Critical2026-07-03Critical security flawNo
4CVE-2026-89259.8 Critical2026-07-03Critical security flawNo
5CVE-2026-90799.8 Critical2026-07-03Critical security flawNo
6CVE-2023-385459.8 Critical2023-10-18Out-of-bounds writeNo
7CVE-2022-322219.8 Critical2022-12-05Information exposureNo
8CVE-2022-322079.8 Critical2022-07-07Critical security flawNo
9CVE-2016-46069.8 Critical2020-02-21Arbitrary code executionNo
10CVE-2019-54819.8 Critical2019-09-16Critical security flawNo

Each curl CVE explained

1. CVE-2026-19931: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-09-06
  • CWE-488
What NVD says
A flaw in libcurl makes it wrongly reuse an HTTP connection setup for a given hostname using Negotiate authentication, when the initial request is done using empty credentials. This can make user B's request get sent over user A's previously authenticated connection.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.64.1 to before 8.22.0
What to do
Upgrade to 8.22.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-19931 (opens in a new tab)

2. CVE-2026-10536: Use after free

  • CVSS 9.8 Critical
  • Published 2026-07-03
  • CWE-416
What NVD says
A use-after-free vulnerability exists in libcurl when an application configures an HTTP/2 stream-dependency tree via `CURLOPT_STREAM_DEPENDS` or `CURLOPT_STREAM_DEPENDS_E`, subsequently invokes `curl_easy_reset()`, and finally terminates the handle with `curl_easy_cleanup()`. During this final cleanup phase, libcurl attempts to access and modify an internal structure that was already freed during the reset operation.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.88.0 to before 8.21.0
What to do
Upgrade to 8.21.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-10536 (opens in a new tab)

3. CVE-2026-11856: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-07-03
  • CWE-294
What NVD says
Successfully using libcurl to do a transfer to a specific HTTP origin (`hostA`) with **Digest** authentication and then changing the origin to a different one (`hostB`) for a second transfer, reusing the same handle, makes libcurl wrongly pass on the `Authorization:` header field meant for `hostA`, to `hostB`.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.10.6 to before 8.21.0
What to do
Upgrade to 8.21.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-11856 (opens in a new tab)

4. CVE-2026-8925: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-07-03
  • CWE-415
What NVD says
The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing the pointer in between, making it `free()` the same pointer twice.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
8.15.0 to before 8.21.0
What to do
Upgrade to 8.21.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-8925 (opens in a new tab)

5. CVE-2026-9079: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-07-03
  • CWE-522
What NVD says
libcurl had a flaw that when instructed to clear proxy authentication credentials which made it not do so, leaving the old credentials around to get used for subsequent transfers that should not know nor use them.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
8.8.0 to before 8.21.0
What to do
Upgrade to 8.21.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-9079 (opens in a new tab)

6. CVE-2023-38545: Out-of-bounds write

  • CVSS 9.8 Critical
  • Published 2023-10-18
  • CWE-787
What NVD says
This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.69.0 to before 8.4.0
What to do
Upgrade to 8.4.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-38545 (opens in a new tab)

7. CVE-2022-32221: Information exposure

  • CVSS 9.8 Critical
  • Published 2022-12-05
  • CWE-200
What NVD says
When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 7.86.0
What to do
Upgrade to 7.86.0 or a later release, then restart the service.

NVD record for CVE-2022-32221 (opens in a new tab)

8. CVE-2022-32207: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2022-07-07
  • CWE-840
What NVD says
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.69.0 to before 7.84.0
What to do
Upgrade to 7.84.0 or a later release, then restart the service.

NVD record for CVE-2022-32207 (opens in a new tab)

9. CVE-2016-4606: Arbitrary code execution

  • CVSS 9.8 Critical
  • Published 2020-02-21
What NVD says
Curl before 7.49.1 in Apple OS X before macOS Sierra prior to 10.12 allows remote or local attackers to execute arbitrary code, gain sensitive information, cause denial-of-service conditions, bypass security restrictions, and perform unauthorized actions. This may aid in other attacks.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 7.49.1
What to do
Upgrade to 7.49.1 or a later release, then restart the service.

NVD record for CVE-2016-4606 (opens in a new tab)

10. CVE-2019-5481: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2019-09-16
  • CWE-415
What NVD says
Double-free vulnerability in the FTP-kerberos code in cURL 7.52.0 to 7.65.3.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.52.0 through 7.65.3
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2019-5481 (opens in a new tab)

How to check if your curl is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

curl --version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

curl security checklist

  1. Update through your distribution's package manager and restart services that load the library.
  2. Do not feed untrusted input to the tool without validation or sandboxing.
  3. Track where it is embedded in your software, since many applications bundle their own copy.
  4. Run processing jobs as an unprivileged user with limited resources.

Your stack is bigger than curl. A flaw anywhere in the chain can be the way in, so also review our guides to OpenSSL vulnerabilities, PHP vulnerabilities and Git vulnerabilities.

How to get alerted about new curl vulnerabilities

NVD received 46 new curl CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose curl and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run curl alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about curl vulnerabilities

What are the most critical curl vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical curl CVEs include CVE-2026-19931 (CVSS 9.8), CVE-2026-10536 (CVSS 9.8), CVE-2026-11856 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have curl vulnerabilities been exploited in real attacks?

For the curl product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep curl patched.

How many vulnerabilities does curl have?

As of Nov 3, 2026 the National Vulnerability Database lists 214 CVEs for curl, with 41 rated critical by CVSS v3. 46 were published in the previous twelve months.

How do I check which curl version I run?

Run curl --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new curl CVE is published?

Add curl to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose curl and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is curl secure?

curl is as secure as its patch level. NVD published 46 new curl CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2026-19931?

CVE-2026-19931 is a critical curl vulnerability with a CVSS score of 9.8, published Sep 6, 2026. A flaw in libcurl makes it wrongly reuse an HTTP connection setup for a given hostname using Negotiate authentication, when the initial request is done using empty credentials. This can make user B's request get sent over user A's previously authenticated connection.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.