{"schemaVersion":3,"id":"CVE-2022-35260","aliases":["ALPINE-CVE-2022-35260","DEBIAN-CVE-2022-35260"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-12-05T00:00:00.000Z","modified":"2026-10-14T17:07:43.189Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02704,"percentile":0.85742,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.8920000000000001,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01812},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01761,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02704,"percentile":0.85742}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01812,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02704,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02704,"percentile":0.85742}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_06485542A5C8393D","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/1721098","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"curl","name":"curl","label":"curl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/curl","purlType":"apk","versions":[{"text":"≥ 7.84.0, < 7.86.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.84.0, < 7.86.0-r0","eol":null,"hubHref":null},{"vendor":"apple","product":"macos","name":"macos","label":"macos","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 12.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.6.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"macos","label":"Apple macOS","category":"os"}},"hubHref":"/vendor/apple/macos"},{"vendor":"debian","product":"curl","name":"curl","label":"curl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/curl","purlType":"deb","versions":[{"text":"< 7.86.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.86.0-1","eol":null,"hubHref":null},{"vendor":"haxx","product":"curl","name":"curl","label":"curl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.84.0, < 7.86.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.84.0, < 7.86.0","eol":null,"hubHref":"/vendor/haxx/curl"},{"vendor":"netapp","product":"clustered_data_ontap","name":"clustered data ontap","label":"clustered_data_ontap","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/clustered_data_ontap"},{"vendor":"netapp","product":"h300s_firmware","name":"h300s firmware","label":"h300s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300s"},{"vendor":"netapp","product":"h410s_firmware","name":"h410s firmware","label":"h410s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410s"},{"vendor":"netapp","product":"h500s_firmware","name":"h500s firmware","label":"h500s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500s"},{"vendor":"netapp","product":"h700s_firmware","name":"h700s firmware","label":"h700s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700s"},{"vendor":"splunk","product":"universal_forwarder","name":"universal forwarder","label":"universal_forwarder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.0, < 8.2.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.6","noFixRecorded":false,"fixedIn":null},{"text":"9.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0","eol":null,"hubHref":"/vendor/splunk/universal_forwarder"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackerone.com/reports/1721098","label":"hackerone.com/reports/1721098","hostname":"hackerone.com","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202212-01","label":"security.gentoo.org/glsa/202212-01","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230110-0006/","label":"security.netapp.com/advisory/ntap-20230110-0006/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213604","label":"support.apple.com/kb/HT213604","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213605","label":"support.apple.com/kb/HT213605","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","label":"seclists.org/fulldisclosure/2023/Jan/20","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","label":"seclists.org/fulldisclosure/2023/Jan/19","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-35260","label":"security.alpinelinux.org/vuln/CVE-2022-35260","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-35260","label":"security-tracker.debian.org/tracker/CVE-2022-35260","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35260","label":"nvd.nist.gov/vuln/detail/CVE-2022-35260","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html","label":"cert-portal.siemens.com/productcert/html/ssa-892048.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:12447-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12447-1"]},"timeline":[{"kind":"published","date":"2022-12-05T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T17:07:43.189Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:39:20.049Z","stale":false,"partial":false}}