{"id":"CVE-2022-35260","revision":"7848cb229c8447b9b18316b2297fe1a6","records":[{"revision":"7848cb229c8447b9b18316b2297fe1a6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-35260","aliases":[],"title":"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 z…","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.","state":0,"publishedAt":"2022-12-05T00:00:00+00:00","modifiedAt":"2026-10-14T17:07:43.189+00:00","affected":[{"ecosystem":"Vendor product","name":"https://github.com/curl/curl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n/a\",\n                    \"product\": \"https://github.com/curl/curl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"Fixed in 7.86.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://hackerone.com/reports/1721098","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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-35260","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-35260","identifiers":["CVE-2022-35260"]},"retained":false,"historicalAffected":[]}],"coverage":[]}