CVE & CISA-KEV Catalog

CVE-2022-32221

CRITICALEPSS 90th 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
curlDebian
Fixed in:7.74.0-1.3+deb11u5CVE-2022-32221
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-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-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-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-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-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-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-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-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
libcurl-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
curlUbuntu
Fixed in:7.35.0-1ubuntu2.20+esm13USN-5702-2
Fixed in:7.47.0-1ubuntu2.19+esm6USN-5702-2
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl3Ubuntu
Fixed in:7.35.0-1ubuntu2.20+esm13USN-5702-2
Fixed in:7.47.0-1ubuntu2.19+esm6USN-5702-2
libcurl3-gnutlsUbuntu
Fixed in:7.35.0-1ubuntu2.20+esm13USN-5702-2
Fixed in:7.47.0-1ubuntu2.19+esm6USN-5702-2
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl3-nssUbuntu
Fixed in:7.35.0-1ubuntu2.20+esm13USN-5702-2
Fixed in:7.47.0-1ubuntu2.19+esm6USN-5702-2
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl4Ubuntu
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
mysql-5.7Ubuntu
Fixed in:5.7.41-0ubuntu0.18.04.1USN-5823-1
mysql-8.0Ubuntu
Fixed in:8.0.32-0buntu0.20.04.1USN-5823-1
Fixed in:8.0.32-0buntu0.22.04.1USN-5823-1
Fixed in:8.0.32-0buntu0.22.10.1USN-5823-1
mysql-server-5.7Ubuntu
Fixed in:5.7.41-0ubuntu0.18.04.1USN-5823-1
mysql-server-8.0Ubuntu
Fixed in:8.0.32-0buntu0.20.04.1USN-5823-1
Fixed in:8.0.32-0buntu0.22.04.1USN-5823-1
Fixed in:8.0.32-0buntu0.22.10.1USN-5823-1
UniversalForwarderWindows application
Affected:8.2.0 8.2.12Fixed in:8.2.12Splunk, Inc.
Affected:9.0.0 9.0.6Fixed in:9.0.6Splunk, Inc.

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.32%probability of exploitation in 30 days
90thpercentile

Elevated risk: more likely to be exploited than 90% of all known CVEs.

References

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>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

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-02-13.