HOMEVULNERABILITIESCVE-2022-35260
MEDIUM

CVE-2022-35260

CWE-125Published: December 5, 2022· Updated: Jun 17, 2026

6.5
CVSS v3.1

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

NVD Source

Technical Analysis

CVE-2022-35260 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Vendors & Products

Apple1 product(s)
macos
haxx1 product(s)
curl
netapp9 product(s)
clustered data ontaph300s firmwareh300sh500s firmwareh500sh700s firmwareh700sh410s firmwareh410s
splunk1 product(s)
universal forwarder
Source: NVD CPE · 13 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (14)

http://seclists.org/fulldisclosure/2023/Jan/19Mailing List · Third Party Advisory
http://seclists.org/fulldisclosure/2023/Jan/20Mailing List · Third Party Advisory
https://hackerone.com/reports/1721098Exploit · Patch · Third Party Advisory
http://seclists.org/fulldisclosure/2023/Jan/19Mailing List · Third Party Advisory
http://seclists.org/fulldisclosure/2023/Jan/20Mailing List · Third Party Advisory
https://hackerone.com/reports/1721098Exploit · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2022-35260
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-125
CISA KEVNo
Affected4 vendor(s)
PublishedDec 5, 2022

Related CVEs (CWE-125)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2022-35260 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.