{"id":"CVE-2022-35260","published":"2022-12-05T00:00:00Z","modified":"2026-10-14T17:07:43Z","title":"curl can be told to parse a `.netrc` file for credentials","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02717,"percentile":0.86372,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://hackerone.com/reports/1721098","tags":[]},{"url":"https://security.gentoo.org/glsa/202212-01","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230110-0006/","tags":[]},{"url":"https://support.apple.com/kb/HT213604","tags":[]},{"url":"https://support.apple.com/kb/HT213605","tags":[]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","tags":["mailing-list"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.27}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":["Fixed in 7.86.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-27T19:48:27.630222Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-38151","exploited":false,"provenance":"source"}}