{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "7.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "22a94c09060c5b95dfc95eab2d1e4556a72f62a2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.24",
                "range": [
                  {
                    "fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
            },
            {
              "fixed": "22a94c09060c5b95dfc95eab2d1e4556a72f62a2"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5pqr-x9r9-jx3h"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141472.json"
  },
  "details": "Mongoose is an embedded web server and network library. Prior to 7.24, a remote unauthenticated TLS client can cause a heap out-of-bounds read in mg_tls_server_recv_hello() in src/tls_builtin.c and the generated mongoose.c when Mongoose uses MG_TLS_BUILTIN and a ClientHello extension block ends with fewer than four bytes. The parser reads the extension length before checking that the type and length header is complete, and related key-share length reads also lack minimum-structure validation, allowing a malformed handshake to terminate the worker or process. This issue is fixed in 7.24.",
  "id": "CVE-2026-141472",
  "modified": "2026-12-01T21:45:26.790867760Z",
  "published": "2026-12-01T20:31:17.335Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141472.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mongoose/commit/22a94c09060c5b95dfc95eab2d1e4556a72f62a2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cesanta/mongoose/releases/tag/7.24"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cesanta/mongoose/security/advisories/GHSA-5pqr-x9r9-jx3h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141472"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Mongoose: Pre-authentication heap out-of-bounds read in built-in TLS ClientHello extension parsing"
}