Vulnerability record · CVE-2022-35260 · published 5 December 2022
CVE-2022-35260: Haxx curl out-of-bounds read vulnerability
Haxx · Curl
curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.
Description
curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://seclists.org/fulldisclosure/2023/Jan/19 | Mailing ListThird Party Advisory |
| http://seclists.org/fulldisclosure/2023/Jan/20 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/1721098 | ExploitPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202212-01 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230110-0006/ | Third Party Advisory |
| https://support.apple.com/kb/HT213604 | Third Party Advisory |
| https://support.apple.com/kb/HT213605 | Third Party Advisory |
| http://seclists.org/fulldisclosure/2023/Jan/19 | Mailing ListThird Party Advisory |
| http://seclists.org/fulldisclosure/2023/Jan/20 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/1721098 | ExploitPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202212-01 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230110-0006/ | Third Party Advisory |
| https://support.apple.com/kb/HT213604 | Third Party Advisory |
| https://support.apple.com/kb/HT213605 | Third Party Advisory |
Track CVE-2022-35260 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-35260), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.