עברית

Vulnerability Intelligence

CVE-2022-35260

Medium 6.5

Published
Last modified
NVD status
Modified

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.

Affected products

haxx: curl; netapp: clustered data ontap; netapp: h300s firmware; netapp: h300s; netapp: h500s firmware; netapp: h500s; netapp: h700s firmware; netapp: h700s; netapp: h410s firmware; netapp: h410s; apple: macos; splunk: universal forwarder

References10

Metrics

CVSS 3.1
6.5 MEDIUM Score source: NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS — exploit probability
3% percentile: 86 · as of 6 November 2026
CWE
CWE-125CWE-787

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.