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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/curl/curl | Fixed in 7.86.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.86.0-1 | — |
| Debian 13 | curl | 7.86.0-1 | — |
| Debian 12 | curl | 7.86.0-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.86.0-1.1 | openSUSE-SU-2024:12447-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 7.86.0-r0 | — |
| Alpine v3.23 | curl | 7.86.0-r0 | — |
| Alpine v3.22 | curl | 7.86.0-r0 | — |
| Alpine v3.21 | curl | 7.86.0-r0 | — |
| Alpine v3.20 | curl | 7.86.0-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 7.86.0-r0 | — |
| Alpine v3.18 | curl | 7.86.0-r0 | — |
| Alpine v3.17 | curl | 7.86.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | curl +4 | 7.87.0-2.amzn2023.0.2 | ALAS2023-2023-083 |
| Amazon Linux 2 | curl +2 | 7.79.1-7.amzn2.0.1 | ALAS2-2022-1882 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | tensorflow | 2.16.1-1 | — |
Advisories 14
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- WID-SEC-2022-1862 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 23, 2026
- openSUSE-SU-2024:12447-1 curl-7.86.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-23-131-05 Siemens SINEC NMS Third-Party CISA ICS & IT advisories · May 6, 2025
- ALAS2023-2023-083 Moderate: curl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- WID-SEC-2023-0189 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 7, 2023
- SSA-892048 SSA-892048: Third-Party Component Vulnerabilities in SINEC NMS before V1.0.3.1 Siemens ProductCERT · May 9, 2023
- WID-SEC-2023-0296 Meinberg LANTIME: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 6, 2023
- WID-SEC-2022-2372 genua genugate: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 19, 2023
- ALAS2-2022-1882 Moderate: curl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 6, 2022
References
- https://hackerone.com/reports/1721098
- GLSA-202212-01 vendor-advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/
- https://support.apple.com/kb/HT213604
- https://support.apple.com/kb/HT213605
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 mailing-list
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 mailing-list