CVE & CISA-KEV Catalog

CVE-2022-32221

CRITICALEPSS 91th pctl
9.8
CVSS v3
NVD

Description

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. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.

How to fix

Remediation Available
curlAmazon
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
curl-debuginfoAmazon
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
curl-debugsourceAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
curl-minimalAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
curl-minimal-debuginfoAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
libcurlAmazon
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
libcurl-debuginfoAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
libcurl-develAmazon
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.79.1-7.amzn2.0.1
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
libcurl-minimalAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
libcurl-minimal-debuginfoAmazon
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
Fixed in:0:7.87.0-2.amzn2023.0.2
curlDebian
Fixed in:7.86.0-1CVE-2022-32221
Fixed in:7.86.0-1CVE-2022-32221
Fixed in:7.86.0-1CVE-2022-32221
curlRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curlRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-debuginfoRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-debuginfoRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-debugsourceRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-debugsourceRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-minimalRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-minimalRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-minimal-debuginfoRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
curl-minimal-debuginfoRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurlRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurlRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-debuginfoRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-debuginfoRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-develRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-develRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-minimalRed Hat / RHEL
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-minimalRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
libcurl-minimal-debuginfoRocky
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139
Fixed in:0:7.76.1-14.el9_0.6RHSA-2023:4139

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

4.45%probability of exploitation in 30 days
91stpercentile

High risk: more likely to be exploited than 91% of all known CVEs.

References

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.596%-Fix

Common questions

How do I fix CVE-2022-32221?

Published advisories record a fix for 41 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-32221 being actively exploited?

Not that we know of. CVE-2022-32221 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 4.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 91% of all scored CVEs.

How severe is CVE-2022-32221?

CVE-2022-32221 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-32221 affect?

Published advisories record a fix for curl (Amazon), curl-debuginfo (Amazon), curl-debugsource (Amazon), curl-minimal (Amazon), and 37 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-32221
CVE-2022-32221 severity badge

Markdown

[![CVE-2022-32221](https://tridentstack.com/cve/badge/CVE-2022-32221.svg)](https://tridentstack.com/cve/CVE-2022-32221)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-32221"><img src="https://tridentstack.com/cve/badge/CVE-2022-32221.svg" alt="CVE-2022-32221"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.