CVE catalog

CVE-2022-35260

curl: CVE-2022-35260

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H/E:U/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
2.70% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancurlsid8.23.0-1fixed
Debiancurlforky8.22.0-1fixed
Debiancurltrixie8.14.1-2+deb13u5fixed
Debiancurltrixie-security8.14.1-2+deb13u7fixed
Debiancurlbookworm7.88.1-10+deb12u15fixed
Debiancurlbookworm-security7.88.1-10+deb12u5fixed
CpecurlNot reported7.86.0fixed
Cpeclustered_data_ontapNot reportedNot reportedunknown
Cpeh300s_firmwareNot reportedNot reportedunknown
Cpeh500s_firmwareNot reportedNot reportedunknown
Cpeh700s_firmwareNot reportedNot reportedunknown
Cpeh410s_firmwareNot reportedNot reportedunknown
CpemacosNot reported12.6.3fixed
Cpeuniversal_forwarderNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancurlsourcesid7.86.0-1not yet assignedNot reportedNot reported
Debiancurlsourceforky7.86.0-1not yet assignedNot reportedNot reported
Debiancurlsourcetrixie7.86.0-1not yet assignedNot reportedNot reported
Debiancurlsourcebookworm7.86.0-1not yet assignedNot reportedNot reported
CpecurlcpeNot reported7.86.0Not reportedNVD-CVE-2022-35260Not reported
CpemacoscpeNot reported12.6.3Not reportedNVD-CVE-2022-35260Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [curl]Unknown
    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • [libcurl3-nss]Unknown

    Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • [libcurl4]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • [libcurl4-doc]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · all · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · all · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 7.86.0-1

      dsa · curl · debian · bookworm

Observed:

References