{"id":"CVE-2022-35260","state":"PUBLISHED","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 en","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.","publishedAt":"2022-12-05T00:00:00.000Z","updatedAt":"2026-10-14T17:07:43.189Z","severity":null,"assigner":"hackerone","products":["n/a https://github.com/curl/curl"],"affected":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.86.0","status":"affected"}]}],"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","https://cert-portal.siemens.com/productcert/html/ssa-892048.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:50:17.761Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/35xxx/CVE-2022-35260.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-35260","state":"PUBLISHED","datePublished":"2022-12-05T00:00:00.000Z","dateUpdated":"2026-10-14T17:07:43.189Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2022-07-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.86.0","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/1721098"},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230110-0006/"},{"url":"https://support.apple.com/kb/HT213604"},{"url":"https://support.apple.com/kb/HT213605"},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","name":"20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","name":"20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"Out-of-bounds Read (CWE-125)"}]}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2023-01-24T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1721098","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230110-0006/","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213604","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213605","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","name":"20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","name":"20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:29:17.464Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-03-27T19:48:27.630222Z","id":"CVE-2022-35260","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-19T20:09:10.400Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T17:07:43.189Z"},"x_adpType":"supplier"}]}}}