# CVE-2022-32221

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-12-05 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2022-32221, MGASA-2022-0405, SUSE-SU-2022:3769-1, SUSE-SU-2022:3770-1, SUSE-SU-2022:3773-1, RHSA-2023:0333, UBUNTU-CVE-2022-32221, USN-5702-2, DEBIAN-CVE-2022-32221, CGA-w3mm-vxgp-jgjc, CGA-x4g8-cxq6-vm6p
- Record: https://cvemate.com/vulnerability/CVE-2022-32221 · JSON: https://cvemate.com/vulnerability/CVE-2022-32221/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 6.609%, percentile 94.03%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 44)

- alpine curl (Alpine Linux): \< 7.80.0-r4 \| \< 7.83.1-r4 \| \< 7.86.0-r0
- chainguard curl (Chainguard): \< 7.86.0-r0
- wolfi curl (Wolfi): \< 7.86.0-r0
- apple macos: \< 12.6.3
- debian curl (Debian): \< 7.86.0-1
- ubuntu curl (Ubuntu): \< 7.35.0-1ubuntu2.20+esm13 \| \< 7.47.0-1ubuntu2.19+esm6 \| \< 7.58.0-2ubuntu3.21 \| \< 7.68.0-1ubuntu2.14 \| \< 7.81.0-1ubuntu1.6
- debian debian\_linux: 10.0 \| 11.0
- haxx curl: \< 7.86.0
- mageia curl (Mageia): \< 7.74.0-1.9.mga8
- netapp clustered\_data\_ontap: na
- netapp h300s\_firmware: na
- netapp h410s\_firmware: na
- netapp h500s\_firmware: na
- netapp h700s\_firmware: na
- opensuse curl&distro=openSUSE Leap 15.3 (openSUSE): \< 7.66.0-150200.4.42.1
- opensuse curl&distro=openSUSE Leap Micro 5.2 (openSUSE): \< 7.66.0-150200.4.42.1
- redhat curl (Red Hat): \< 0:7.76.1-19.el9\_1.1
- redhat curl-debuginfo (Red Hat): \< 0:7.76.1-19.el9\_1.1
- redhat curl-debugsource (Red Hat): \< 0:7.76.1-19.el9\_1.1
- redhat curl-minimal (Red Hat): \< 0:7.76.1-19.el9\_1.1

## References (first 20 of 35)

- <https://hackerone.com/reports/1704017>
- <https://security.gentoo.org/glsa/202212-01>
- <https://security.netapp.com/advisory/ntap-20230110-0006/>
- <https://support.apple.com/kb/HT213604>
- <https://support.apple.com/kb/HT213605>
- <http://seclists.org/fulldisclosure/2023/Jan/20>
- <http://seclists.org/fulldisclosure/2023/Jan/19>
- <https://www.debian.org/security/2023/dsa-5330>
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html>
- <https://security.netapp.com/advisory/ntap-20230208-0002/>
- <http://www.openwall.com/lists/oss-security/2023/05/17/4>
- <https://security.alpinelinux.org/vuln/CVE-2022-32221>
- <https://advisories.mageia.org/MGASA-2022-0405.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31031>
- <https://curl.se/docs/CVE-2022-32221.html>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223769-1/>
- <https://bugzilla.suse.com/1204383>
- <https://www.suse.com/security/cve/CVE-2022-32221>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223770-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223773-1/>

---

Data as of 2026-12-05T03:05:06.614Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
