Skip to content
Heist/ feed
Back to feed
UnratedFix available

curl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-87862

Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.

Products
curl
Affected versions
7.74.0-1.3ubuntu2, 7.74.0-1.3ubuntu3, 7.80.0-3, 7.81.0-1, 7.81.0-1ubuntu1.1, 7.81.0-1ubuntu1.10, 7.81.0-1ubuntu1.11, 7.81.0-1ubuntu1.13, 7.81.0-1ubuntu1.14, 7.81.0-1ubuntu1.15, 7.81.0-1ubuntu1.16, 7.81.0-1ubuntu1.17, 7.81.0-1ubuntu1.18, 7.81.0-1ubuntu1.19, 7.81.0-1ubuntu1.2, 7.81.0-1ubuntu1.20, 7.81.0-1ubuntu1.21, 7.81.0-1ubuntu1.22, 7.81.0-1ubuntu1.23, 7.81.0-1ubuntu1.24, 7.81.0-1ubuntu1.25, 7.81.0-1ubuntu1.26, 7.81.0-1ubuntu1.27, 7.81.0-1ubuntu1.29, 7.81.0-1ubuntu1.3, 7.81.0-1ubuntu1.4, 7.81.0-1ubuntu1.6, 7.81.0-1ubuntu1.7, 7.81.0-1ubuntu1.8, 8.14.1-2ubuntu1, 8.17.0-1ubuntu1, 8.18.0-1ubuntu1, 8.18.0-1ubuntu2, 8.18.0-1ubuntu2.1, 8.18.0-1ubuntu2.2, 8.18.0-1ubuntu2.3, 8.18.0-1ubuntu2.4, 8.18.0-1ubuntu2.5, 8.18.0-1ubuntu2.7, 8.2.1-1ubuntu3, 8.2.1-1ubuntu3.1, 8.20.0-2ubuntu1, 8.20.0-2ubuntu10, 8.20.0-2ubuntu11, 8.20.0-2ubuntu3, 8.4.0-2ubuntu1, 8.5.0-2ubuntu1, 8.5.0-2ubuntu10, 8.5.0-2ubuntu10.1, 8.5.0-2ubuntu10.10, 8.5.0-2ubuntu10.11, 8.5.0-2ubuntu10.12, 8.5.0-2ubuntu10.13, 8.5.0-2ubuntu10.15, 8.5.0-2ubuntu10.2, 8.5.0-2ubuntu10.3, 8.5.0-2ubuntu10.4, 8.5.0-2ubuntu10.5, 8.5.0-2ubuntu10.6, 8.5.0-2ubuntu10.7, 8.5.0-2ubuntu10.8, 8.5.0-2ubuntu10.9, 8.5.0-2ubuntu2, 8.5.0-2ubuntu8, 8.5.0-2ubuntu9
Fixed versions
7.81.0-1ubuntu1.30, 8.18.0-1ubuntu2.8, 8.20.0-2ubuntu11.1, 8.5.0-2ubuntu10.16
CVEs
CVE-2026-87862
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:26 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-87862

core-osv · Original source

Published 14 Oct 2026, 06:00 UTC

Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.

osv:UBUNTU-CVE-2026-87862

curl

Fixed versions: 7.81.0-1ubuntu1.30

curl

Fixed versions: 8.5.0-2ubuntu10.16

curl

Fixed versions: 8.20.0-2ubuntu11.1

curl

Fixed versions: 8.18.0-1ubuntu2.8

Complete source record
{
  "id": "4e534e23bb45d930e1b7d5943349b056231860501f9b5b781b0aadc36ef09e9c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-87862",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-87862",
    "summary": "Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.",
    "evidence": "osv:UBUNTU-CVE-2026-87862",
    "products": [
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.81.0-1ubuntu1.30",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7.74.0-1.3ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.74.0-1.3ubuntu3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.80.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.10",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.11",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.13",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.14",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.15",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.16",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.17",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.18",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.19",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.20",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.21",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.22",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.23",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.24",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.25",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.26",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.27",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.81.0-1ubuntu1.29",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.5.0-2ubuntu10.16",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "8.2.1-1ubuntu3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.2.1-1ubuntu3.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.4.0-2ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu8",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu9",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.8",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.9",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.10",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.11",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.12",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.13",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.5.0-2ubuntu10.15",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.20.0-2ubuntu11.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "8.18.0-1ubuntu2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "8.20.0-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "8.20.0-2ubuntu3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "8.20.0-2ubuntu10",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "8.20.0-2ubuntu11",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.18.0-1ubuntu2.8",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "8.14.1-2ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.17.0-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.18.0-1ubuntu2.7",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "UBUNTU-CVE-2026-87862",
      "aliases": [
        "UBUNTU-CVE-2026-87862"
      ],
      "metrics": [
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.81.0-1ubuntu1.30"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/ubuntu/curl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "7.74.0-1.3ubuntu2",
            "7.74.0-1.3ubuntu3",
            "7.80.0-3",
            "7.81.0-1",
            "7.81.0-1ubuntu1.1",
            "7.81.0-1ubuntu1.2",
            "7.81.0-1ubuntu1.3",
            "7.81.0-1ubuntu1.4",
            "7.81.0-1ubuntu1.6",
            "7.81.0-1ubuntu1.7",
            "7.81.0-1ubuntu1.8",
            "7.81.0-1ubuntu1.10",
            "7.81.0-1ubuntu1.11",
            "7.81.0-1ubuntu1.13",
            "7.81.0-1ubuntu1.14",
            "7.81.0-1ubuntu1.15",
            "7.81.0-1ubuntu1.16",
            "7.81.0-1ubuntu1.17",
            "7.81.0-1ubuntu1.18",
            "7.81.0-1ubuntu1.19",
            "7.81.0-1ubuntu1.20",
            "7.81.0-1ubuntu1.21",
            "7.81.0-1ubuntu1.22",
            "7.81.0-1ubuntu1.23",
            "7.81.0-1ubuntu1.24",
            "7.81.0-1ubuntu1.25",
            "7.81.0-1ubuntu1.26",
            "7.81.0-1ubuntu1.27",
            "7.81.0-1ubuntu1.29"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87862.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "curl",
                "binary_version": "7.81.0-1ubuntu1.30"
              },
              {
                "binary_name": "libcurl3-gnutls",
                "binary_version": "7.81.0-1ubuntu1.30"
              },
              {
                "binary_name": "libcurl3-nss",
                "binary_version": "7.81.0-1ubuntu1.30"
              },
              {
                "binary_name": "libcurl4",
                "binary_version": "7.81.0-1ubuntu1.30"
              }
            ],
            "availability": "No subscription required",
            "priority_reason": "Upstream defined this as low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.5.0-2ubuntu10.16"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/ubuntu/curl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.2.1-1ubuntu3",
            "8.2.1-1ubuntu3.1",
            "8.4.0-2ubuntu1",
            "8.5.0-2ubuntu1",
            "8.5.0-2ubuntu2",
            "8.5.0-2ubuntu8",
            "8.5.0-2ubuntu9",
            "8.5.0-2ubuntu10",
            "8.5.0-2ubuntu10.1",
            "8.5.0-2ubuntu10.2",
            "8.5.0-2ubuntu10.3",
            "8.5.0-2ubuntu10.4",
            "8.5.0-2ubuntu10.5",
            "8.5.0-2ubuntu10.6",
            "8.5.0-2ubuntu10.7",
            "8.5.0-2ubuntu10.8",
            "8.5.0-2ubuntu10.9",
            "8.5.0-2ubuntu10.10",
            "8.5.0-2ubuntu10.11",
            "8.5.0-2ubuntu10.12",
            "8.5.0-2ubuntu10.13",
            "8.5.0-2ubuntu10.15"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87862.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "curl",
                "binary_version": "8.5.0-2ubuntu10.16"
              },
              {
                "binary_name": "libcurl3t64-gnutls",
                "binary_version": "8.5.0-2ubuntu10.16"
              },
              {
                "binary_name": "libcurl4t64",
                "binary_version": "8.5.0-2ubuntu10.16"
              }
            ],
            "availability": "No subscription required",
            "priority_reason": "Upstream defined this as low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.20.0-2ubuntu11.1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/ubuntu/curl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "8.18.0-1ubuntu2",
            "8.20.0-2ubuntu1",
            "8.20.0-2ubuntu3",
            "8.20.0-2ubuntu10",
            "8.20.0-2ubuntu11"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87862.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "curl",
                "binary_version": "8.20.0-2ubuntu11.1"
              },
              {
                "binary_name": "libcurl3t64-gnutls",
                "binary_version": "8.20.0-2ubuntu11.1"
              },
              {
                "binary_name": "libcurl4t64",
                "binary_version": "8.20.0-2ubuntu11.1"
              }
            ],
            "availability": "No subscription required",
            "priority_reason": "Upstream defined this as low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.18.0-1ubuntu2.8"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/ubuntu/curl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "8.14.1-2ubuntu1",
            "8.17.0-1ubuntu1",
            "8.18.0-1ubuntu1",
            "8.18.0-1ubuntu2",
            "8.18.0-1ubuntu2.1",
            "8.18.0-1ubuntu2.2",
            "8.18.0-1ubuntu2.3",
            "8.18.0-1ubuntu2.4",
            "8.18.0-1ubuntu2.5",
            "8.18.0-1ubuntu2.7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87862.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "curl",
                "binary_version": "8.18.0-1ubuntu2.8"
              },
              {
                "binary_name": "libcurl3t64-gnutls",
                "binary_version": "8.18.0-1ubuntu2.8"
              },
              {
                "binary_name": "libcurl4t64",
                "binary_version": "8.18.0-1ubuntu2.8"
              }
            ],
            "availability": "No subscription required",
            "priority_reason": "Upstream defined this as low severity"
          }
        }
      ],
      "modified": "2026-10-20T22:56:55.837620383Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-87862"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-87862",
        "https://www.cve.org/CVERecord?id=CVE-2026-87862",
        "https://curl.se/docs/CVE-2026-87862.html",
        "https://ubuntu.com/security/notices/USN-8927-1",
        "https://ubuntu.com/security/notices/USN-8927-2",
        "https://ubuntu.com/security/notices/USN-8932-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-87862",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 390730,
  "published_at": "2026-10-14T06:00:00+00:00"
}