CVE-2026-141472
HIGH 8.7CVSS 4.0Mongoose: Pre-authentication heap out-of-bounds read in built-in TLS ClientHello extension parsing
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.
- Published
- 1 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-125
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 8.7 | 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 |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cesanta | mongoosecpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* |
< 7.24 | 7.24 |
| CVE List | cesanta | mongoose | = < 7.24 |
References
- https://github.com/cesanta/mongoose/commit/22a94c09060c5b95dfc95eab2d1e4556a72f62a2 · Patch, x_refsource_MISC
- https://github.com/cesanta/mongoose/releases/tag/7.24 · Release Notes, x_refsource_MISC
- https://github.com/cesanta/mongoose/security/advisories/GHSA-5pqr-x9r9-jx3h · Vendor Advisory, x_refsource_CONFIRM
History
- 3 Dec 2026 03:06 UTC · NVD: status Undergoing Analysis → Analyzed; affected list changed (1 entry)
- 2 Dec 2026 15:18 UTC · CVE List: updated (other details)
- 2 Dec 2026 15:18 UTC · NVD: status Awaiting Analysis → Undergoing Analysis; 1 reference added
- 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 20:49 UTC · CVE List: first stored (published 1 Dec 2026)