CVE-2022-35260
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.
- CVSS 3.1
- 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS
- 2.7% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-787, CWE-125
- Published
- Modified
- Record from
- the NVD, synced
Affected
- apple:macos
- haxx:curl
- netapp:clustered_data_ontap
- netapp:h300s_firmware
- netapp:h410s_firmware
- netapp:h500s_firmware
- netapp:h700s_firmware
- splunk:universal_forwarder