Skip to content
Heist/ feed
Back to feed
Low

HSTS double free

Type: advisorySources: OSV

libcurl supports sharing HSTS data between separate "handles". This sharing was introduced without considerations for doing this sharing across separate threads but there was no indication of this fact in the documentation. Due to missing mutexes or thread locks, two threads sharing the same HSTS data could end up doing a double free or use after free.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-27537
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:36 UTC · Revision 1

Source evidence

HSTS double free

core-osv · Original source

Published 20 Mar 2023, 08:00 UTC

libcurl supports sharing HSTS data between separate "handles". This sharing was introduced without considerations for doing this sharing across separate threads but there was no indication of this fact in the documentation. Due to missing mutexes or thread locks, two threads sharing the same HSTS data could end up doing a double free or use after free.

osv:CURL-CVE-2023-27537
Complete source record
{
  "id": "b3ebc9c6c0abfdfd38b24a4222ee5f9b8d36f82a2e28015a911ff63c86712523",
  "url": "https://osv.dev/vulnerability/CURL-CVE-2023-27537",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HSTS double free",
    "summary": "libcurl supports sharing HSTS data between separate \"handles\". This sharing was introduced without considerations for doing this sharing across separate threads but there was no indication of this fact in the documentation. Due to missing mutexes or thread locks, two threads sharing the same HSTS data could end up doing a double free or use after free.",
    "evidence": "osv:CURL-CVE-2023-27537",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CURL-CVE-2023-27537",
      "aliases": [
        "CURL-CVE-2023-27537",
        "CVE-2023-27537"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "7.88.0"
                },
                {
                  "fixed": "8.0.0"
                }
              ]
            },
            {
              "repo": "https://github.com/curl/curl.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "076a2f629119222aeeb50f5a03bf9f9052fabb9a"
                },
                {
                  "fixed": "dca4cdf071be095bcdc7126eaa77a8946ea4790b"
                }
              ]
            }
          ],
          "versions": [
            "7.88.1",
            "7.88.0",
            "curl-7_88_1",
            "curl-7_88_0"
          ],
          "database_specific": {
            "source": "https://curl.se/docs/CURL-CVE-2023-27537.json"
          }
        }
      ],
      "modified": "2026-10-24T23:29:53Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {
        "CWE": {
          "id": "CWE-415",
          "desc": "Double Free"
        },
        "URL": "https://curl.se/docs/CVE-2023-27537.json",
        "www": "https://curl.se/docs/CVE-2023-27537.html",
        "award": {
          "amount": "480",
          "currency": "USD"
        },
        "issue": "https://hackerone.com/reports/1897203",
        "affects": "lib",
        "package": "curl",
        "severity": "Low",
        "last_affected": "7.88.1"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-27537",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 444214,
  "published_at": "2023-03-20T08:00:00+00:00"
}