{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-32221","id":"CVE-2022-32221","title":"When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for dat…","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 o","descriptionLong":"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-05T00:00:00.000Z","updated":"2026-10-28T02:30:27.829440385Z","reserved":"2022-06-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["https://github.com/curl/curl"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/curl/curl","defaultStatus":null,"versions":[{"version":"Fixed in 7.86.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-200","CWE-668"],"aliases":["CURL-CVE-2022-32221"],"references":[{"url":"https://hackerone.com/reports/1704017","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://security.gentoo.org/glsa/202212-01","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230110-0006/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://support.apple.com/kb/HT213604","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://support.apple.com/kb/HT213605","tags":["x_transferred","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://www.debian.org/security/2023/dsa-5330","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://security.netapp.com/advisory/ntap-20230208-0002/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/05/17/4","tags":["mailing-list","x_transferred","Mailing List","article"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32221.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32221","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.05117,"epssPercentile":0.92555,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-32221","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32221","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-32221","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-32221","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["curl"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}