CVE-2022-35260
Splunk Forwarder vulnerability analysis and mitigation

Overview

CVE-2022-35260 is a vulnerability in curl's .netrc file parser discovered in October 2022. The vulnerability affects curl versions 7.84.0 to 7.85.0, where if a .netrc 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 write a zero byte beyond its boundary (Curl Advisory).

Technical details

The vulnerability is classified as a Stack-based Buffer Overflow (CWE-121) with a CVSS score of 6.5 (Medium). The issue occurs when parsing a .netrc file that ends with 4095 consecutive non-white space letters without a newline character. In this scenario, curl would first read past the end of the stack-based buffer and potentially write a zero byte beyond its boundary (Curl Advisory, MITRE CVE).

Impact

The vulnerability primarily results in a segmentation fault or similar crash conditions. If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be exploited as a denial-of-service attack (Curl Advisory).

Mitigation and workarounds

There are several recommended mitigations: 1) Upgrade curl to version 7.86.0 or later, 2) Apply the patch to the local version, or 3) Avoid using .netrc files. The fix was implemented through a commit that addressed the buffer overflow issue (Curl Advisory).

Community reactions

The vulnerability has been acknowledged and patched by various major technology companies. Apple included fixes for this vulnerability in their macOS Ventura 13.2 and Monterey 12.6.3 updates (Apple Support, Apple Support). NetApp also addressed this vulnerability in multiple products through their security advisory (NetApp Advisory).

Additional resources


SourceThis report was generated using AI

Related Splunk Forwarder vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20298HIGH8
  • Splunk ForwarderSplunk Forwarder
  • cpe:2.3:a:splunk:universal_forwarder
NoYesJun 02, 2025
CVE-2023-27537MEDIUM5.9
  • MySQLMySQL
  • curl
NoYesMar 30, 2023
CVE-2023-27536MEDIUM5.9
  • MySQLMySQL
  • libcurl
NoYesMar 30, 2023
CVE-2023-27535MEDIUM5.9
  • MySQLMySQL
  • curl-minimal-debuginfo
NoYesMar 30, 2023
CVE-2023-27538MEDIUM5.5
  • MySQLMySQL
  • cmake
NoYesMar 30, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management