CVE-2022-35260
curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2022-35260- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-35260- Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2022-38151 No score
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.
- Record
EUVD-2022-38151- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-pv52-98qj-pq55
6.5
curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095...
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.
- Record
GHSA-pv52-98qj-pq55- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-35260
6.5
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.
- Record
ALPINE-CVE-2022-35260- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVAZL-38755
6.5
CVE-2022-35260 affecting package tensorflow for versions less than 2.16.1-1
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.
- Record
AZL-38755- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVBELL-CVE-2022-35260
6.5
CVE-2022-35260 does not affect BellSoft software
- Record
BELL-CVE-2022-35260- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-35260
6.5
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.
- Record
DEBIAN-CVE-2022-35260- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVJLSEC-2026-1341
6.5
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.
- Record
JLSEC-2026-1341- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCURL-CVE-2022-35260 No score
.netrc parser out-of-bounds access
curl can be told to parse a .netrc file for credentials. If that file ends
in a line with consecutive non-white space letters and no newline, curl could
read past the end of the stack-based buffer, and if the read works, write a
zero byte possibly beyond its boundary.
This does 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.
- Record
CURL-CVE-2022-35260- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-35260- Weakness
- CWE-125
- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12447-1 No score
curl-7.86.0-1.1 on GA media
These are all security issues fixed in the curl-7.86.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12447-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.17 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.18 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.19 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.20 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.21 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.22 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.23 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
curlAlpine:v3.24 |
7.84.0 up to 7.86.0-r0 | 7.86.0-r0 |
tensorflowAzure Linux:3 |
before 2.16.1-1 | 2.16.1-1 |
curlDebian:12 |
before 7.86.0-1 | 7.86.0-1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
curlDebian:13 |
before 7.86.0-1 | 7.86.0-1 |
curlDebian:14 |
before 7.86.0-1 | 7.86.0-1 |
LibCURL_jllJulia |
7.84.0+0 up to 7.87.0+0 | 7.87.0+0 |
curlopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 7.86.0-1.1 | 7.86.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-35260 is a medium vulnerability (CVSS 6.5) in Haxx Curl, published October 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.70%, the 86th percentile. Fixed in curl 7.86.0-r0.
References
hackerone.com/reports/1721098
security.gentoo.org/glsa/202212-01
security.netapp.com/advisory/ntap-20230110-0006
support.apple.com/kb/HT213604
support.apple.com/kb/HT213605
seclists.org/fulldisclosure/2023/Jan/20
Show 13 moreShow less
seclists.org/fulldisclosure/2023/Jan/19
cert-portal.siemens.com/productcert/html/ssa-892048.html
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2022-35260
github.com/advisories/GHSA-pv52-98qj-pq55
security.alpinelinux.org/vuln/CVE-2022-35260
docs.bell-sw.com/security/cves/CVE-2022-35260
github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35260.json
security-tracker.debian.org/tracker/CVE-2022-35260
suse.com/security/cve/CVE-2022-32221
suse.com/security/cve/CVE-2022-35260
suse.com/security/cve/CVE-2022-42915
suse.com/security/cve/CVE-2022-42916