CVE-2022-35260: Apple macOS
Medium severity, CVSS 6.5. EPSS: 1.9% chance of exploitation in the next 30 days.
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
- Apple macOS: before 12.6.3 (fixed in 12.6.3)
- Haxx Curl: from 7.84.0, before 7.86.0 (fixed in 7.86.0)
- Netapp Clustered Data Ontap: affected versions not specified
- Netapp h300s Firmware: affected versions not specified
- Netapp h410s Firmware: affected versions not specified
- Netapp h500s Firmware: affected versions not specified
- Netapp h700s Firmware: affected versions not specified
- Splunk Universal Forwarder: from 8.2.0, before 8.2.12 (fixed in 8.2.12); from 9.0.0, before 9.0.6 (fixed in 9.0.6); version 9.1.0 only
Published 2022-12-05. Last modified 2026-06-17.