CVE-2026-5244
HIGHCesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
Title source: cnaDescription
A vulnerability has been found in Cesanta Mongoose up to 7.20. This affects the function mg_tls_recv_cert of the file mongoose.c of the component TLS 1.3 Handler. Such manipulation of the argument pubkey leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 7.21 mitigates this issue. The name of the patch is 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. It is advisable to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
References (6)
Core 6
Core References
Vdb Entry, Technical Description vdb-entry
technical-description
VDB-354825 | Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
https://vuldb.com/vuln/354825
Signature, Permissions Required signature
permissions-required
VDB-354825 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/354825/cti
Third Party Advisory third-party-advisory
Submit #770063 | Cesanta Mongoose 7.20 Heap-based Buffer Overflow
https://vuldb.com/submit/770063
Product product
https://github.com/cesanta/mongoose/
Scores
CVSS v3
7.3
EPSS
0.0073
EPSS Percentile
49.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-119
CWE-122
Status
published
Products (23)
Cesanta/Mongoose
7.0
cesanta/mongoose
7.0 - 7.21
Cesanta/Mongoose
7.1
Cesanta/Mongoose
7.10
Cesanta/Mongoose
7.11
Cesanta/Mongoose
7.12
Cesanta/Mongoose
7.13
Cesanta/Mongoose
7.14
Cesanta/Mongoose
7.15
Cesanta/Mongoose
7.16
... and 13 more
Published
Apr 02, 2026
Tracked Since
Apr 02, 2026