---
cve: "CVE-2022-35260"
severity: "LOW"
cvss: 3.1
epss: "1.8%"
vendor: "n/a"
kev: false
exploited: false
published: "2022-12-05 22:15:10"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-13T10:45:14+02:00"
---

# CVE-2022-35260

> 3.1 LOW

## Beschreibung

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.

## Patch verfügbar (OSV)

- cd95ee9f771361acf241629d2fe5507e308082a2 (Commit)

## Referenzen

- <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>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-35260) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
