Every CVE Search/ Get API key

CVE-2022-35260

curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095...

6.5 MediumFix available

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

2.70%Up 1.8 points since Dec 6, 2022
90%50%10%1%

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

Affected packages
PackageAffectedFixed
curl
Alpine:v3.17
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.18
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.19
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.20
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.21
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.22
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.23
7.84.0 up to 7.86.0-r0
7.86.0-r0
curl
Alpine:v3.24
7.84.0 up to 7.86.0-r0
7.86.0-r0
tensorflow
Azure Linux:3
before 2.16.1-1
2.16.1-1
curl
Debian:12
before 7.86.0-1
7.86.0-1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
curl
Debian:13
before 7.86.0-1
7.86.0-1
curl
Debian:14
before 7.86.0-1
7.86.0-1
LibCURL_jll
Julia
7.84.0+0 up to 7.87.0+0
7.87.0+0
curl
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 7.86.0-1.1
7.86.0-1.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE 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

Show 13 moreShow less
MoveEnter Open