# JLSEC-2026-1341: curl can be told to parse a .netrc file for credentials.

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-17T13:15:13.400Z
- Modified: 2026-08-17T13:30:04.501Z
- Related: CVE-2022-35260

## 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.

(As written by Julia Security Advisories.)

## Affected

- LibCURL_jll (Julia): from 7.84.0+0 before 7.87.0+0

## References

- <http://seclists.org/fulldisclosure/2023/Jan/19> (web)
- <http://seclists.org/fulldisclosure/2023/Jan/20> (web)
- <https://hackerone.com/reports/1721098> (web)
- <https://security.gentoo.org/glsa/202212-01> (web)
- <https://security.netapp.com/advisory/ntap-20230110-0006/> (web)
- <https://support.apple.com/kb/HT213604> (web)
- <https://support.apple.com/kb/HT213605> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1341](https://osv.dev/vulnerability/JLSEC-2026-1341), CC-BY-4.0, modified 2026-08-17

---

Page: https://cve.day/JLSEC-2026-1341 · Whole record: https://cve.day/JLSEC-2026-1341.json · Rebuilt by cve.day 2026-11-25T22:56:25.945Z
