{
  "id": "CVE-2026-73252",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-73252",
  "published_at": "2026-10-14T18:24:16.659Z",
  "title": "Mongoose: Unauthenticated remote heap out-of-bounds read in built-in TLS: off-by-one length check in mg_tls_recv_record() underflows recv_len to SIZE_MAX",
  "vendor": "cesanta",
  "product": "mongoose",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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": "Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS stack selected by MG_TLS_BUILTIN in src/tls_builtin.c accepts a TLS 1.3 record whose decrypted size is exactly the 16-byte authentication tag with no plaintext or ContentType byte. In mg_tls_recv_record(), the msgsz length check permits that record and the recv_len calculation underflows to SIZE_MAX, so a later handshake step treats stale buffer contents as a trusted message with an effectively unbounded length. An unauthenticated malicious TLS peer can trigger a heap out-of-bounds read before certificate or Finished validation, causing a remote denial of service. This issue is fixed in version 7.23.",
  "cwe": "CWE-191",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "cesanta",
        "product": "mongoose",
        "ranges": [
          "\u003c 7.23"
        ],
        "fixed_in": [
          "7.23"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mongoose to 7.23 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cesanta/mongoose/security/advisories/GHSA-hq58-98f5-2wg3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/cesanta/mongoose/commit/758e301f0c9a9885c1b716195df5fe6d6ac9d53e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/cesanta/mongoose/releases/tag/7.23"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
