CVE-2022-35260

Summary

CVECVE-2022-35260
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-12-05 22:15:10 UTC
Updated2026-10-14 18:17:00 UTC
Descriptioncurl 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.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from [email protected]

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

Problem Types: CWE-125 | CWE-787 | CWE-125 Out-of-bounds Read (CWE-125)

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Macos All All All All
Application Haxx Curl All All All All
Application Netapp Clustered Data Ontap - All All All
Hardware Netapp H300s - All All All
Operating System Netapp H300s Firmware - All All All
Hardware Netapp H410s - All All All
Operating System Netapp H410s Firmware - All All All
Hardware Netapp H500s - All All All
Operating System Netapp H500s Firmware - All All All
Hardware Netapp H700s - All All All
Operating System Netapp H700s Firmware - All All All
Application Splunk Universal Forwarder All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Https//github.com/curl/curl affected Fixed in 7.86.0 Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
December 2022 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
curl: Multiple Vulnerabilities (GLSA 202212-01) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
HackerOne af854a3a-2127-422b-91ae-364da2661108 hackerone.com Exploit, Patch, Third Party Advisory
About the security content of macOS Monterey 12.6.3 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Full Disclosure: APPLE-SA-2023-01-23-4 macOS Ventura 13.2 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-892048.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
About the security content of macOS Ventura 13.2 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Full Disclosure: APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184350 Debian Security Update for curl (CVE-2022-35260)
  • 199008 Ubuntu Security Notification for curl Vulnerabilities (USN-5702-1)
  • 283261 Fedora Security Update for curl (FEDORA-2022-01ffde372c)
  • 283302 Fedora Security Update for curl (FEDORA-2022-39688a779d)
  • 283449 Fedora Security Update for curl (FEDORA-2022-e9d65906c4)
  • 354115 Amazon Linux Security Advisory for curl : ALAS2-2022-1882
  • 354289 Amazon Linux Security Advisory for curl : ALAS2022-2022-246
  • 354553 Amazon Linux Security Advisory for curl : ALAS-2022-246
  • 355207 Amazon Linux Security Advisory for curl : ALAS2023-2023-083
  • 377927 Apple macOS Ventura 13.2 Not Installed (HT213605)
  • 377928 Apple macOS Monterey 12.6.3 Not Installed (HT213604)
  • 378090 NetApp Clustered Data Open Network Technology for Appliance Products (ONTAP) Disclosure of Sensitive Information Denial of Service (DoS) Vulnerability (NTAP-20230110-0006)
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 502717 Alpine Linux Security Update for curl
  • 505613 Alpine Linux Security Update for curl
  • 691009 Free Berkeley Software Distribution (FreeBSD) Security Update for curl (0f99a30c-7b4b-11ed-9168-080027f5fec9)
  • 710693 Gentoo Linux curl Multiple Vulnerabilities (GLSA 202212-01)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report