CVE-2022-35260 - CVE House
Back to Database
Status published Medium CVE-2022-35260

curl can be told to parse a `.netrc` file for...

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-35260

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

https://github.com/curl/curl
Vulnerable Versions:
Fixed in 7.86.0

Timeline

Official Publish: December 5th, 2022
Last Modified: November 19th, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses (CWE)