{
  "id": "CVE-2026-5503",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-5503",
  "published_at": "2026-04-09T22:35:39.437Z",
  "title": "out-of-bounds write in TLSX_EchChangeSNI via attacker-controlled publicName",
  "vendor": "wolfSSL",
  "product": "wolfSSL",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In TLSX_EchChangeSNI, the ctx-\u003eextensions branch set extensions unconditionally even when TLSX_Find returned NULL. This caused TLSX_UseSNI to attach the attacker-controlled publicName to the shared WOLFSSL_CTX when no inner SNI was configured. TLSX_EchRestoreSNI then failed to clean it up because its removal was gated on serverNameX != NULL. The inner ClientHello was sized before the pollution but written after it, causing TLSX_SNI_Write to memcpy 255 bytes past the allocation boundary.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "wolfSSL",
        "product": "wolfSSL",
        "ranges": [
          "\u003c= 5.9.0"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/wolfSSL/wolfssl/pull/10102"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
