CVE catalog

CVE-2022-42916

curl: CVE-2022-42916

[CVE catalog]

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

In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.

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
CpefedoraNot reportedNot reportedunknown
CpemacosNot reported13.2fixed
Cpeuniversal_forwarderNot reportedNot reportedunknown
Ubuntucurl22.047.74.0-1.3ubuntu2vulnerable
Ubuntucurl22.047.74.0-1.3ubuntu3vulnerable
Ubuntucurl22.047.80.0-3vulnerable
Ubuntucurl22.047.81.0-1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.2vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.3vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.4vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.6fixed

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-42916Not reported
CpemacoscpeNot reported13.2Not reportedNVD-CVE-2022-42916Not reported
Ubuntucurldeb22.047.81.0-1ubuntu1.6Not reportedUBUNTU-CVE-2022-42916Not 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