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.
Metrics
Affected Vendors & Products
References
History
Fri, 13 Feb 2026 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: hackerone
Published: 2022-12-05T00:00:00.000Z
Updated: 2026-02-13T19:37:15.128Z
Reserved: 2022-06-01T00:00:00.000Z
Link: CVE-2022-32221
Updated: 2024-08-03T07:32:56.010Z
Status : Modified
Published: 2022-12-05T22:15:10.343
Modified: 2026-02-13T20:16:13.200
Link: CVE-2022-32221