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.
Published: 2022-12-05
Score: 9.8 Critical
EPSS: 2.8% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3288-1 curl security update
Debian DSA Debian DSA DSA-5330-1 curl security update
Ubuntu USN Ubuntu USN USN-5702-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-5702-2 curl vulnerability
Ubuntu USN Ubuntu USN USN-5823-1 MySQL vulnerabilities
History

Fri, 13 Feb 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Apple Macos
Debian Debian Linux
Haxx Curl
Netapp Clustered Data Ontap H300s H300s Firmware H410s H410s Firmware H500s H500s Firmware H700s H700s Firmware
Redhat Enterprise Linux Jboss Core Services Rhel Eus
Splunk Universal Forwarder
cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-02-13T19:37:15.128Z

Reserved: 2022-06-01T00:00:00.000Z

Link: CVE-2022-32221

cve-icon Vulnrichment

Updated: 2024-08-03T07:32:56.010Z

cve-icon NVD

Status : Modified

Published: 2022-12-05T22:15:10.343

Modified: 2026-02-13T20:16:13.200

Link: CVE-2022-32221

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-10-26T00:00:00Z

Links: CVE-2022-32221 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses