Cesanta Mongoose up to 7.20 TLS 1.3 mongoose.c mg_tls_recv_cert pubkey heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 4.34- |
Summary
A vulnerability identified as critical has been detected in Cesanta Mongoose up to 7.20. This impacts the function mg_tls_recv_cert of the file mongoose.c of the component TLS 1.3 Handler. Performing a manipulation of the argument pubkey results in heap-based overflow.
This vulnerability is known as CVE-2026-5244. Remote exploitation of the attack is possible. Furthermore, an exploit is available.
You should 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.
Details
A vulnerability classified as critical 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. The manipulation of the argument pubkey with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability.
This vulnerability is uniquely identified as CVE-2026-5244. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
It is declared as proof-of-concept. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Upgrading to version 7.21 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/cesanta/mongoose/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Mongoose 7.21
Patch: 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
Timeline
04/02/2026 Advisory disclosed04/02/2026 VulDB entry created
04/02/2026 VulDB entry last update
Sources
Product: github.comStatus: Confirmed
CVE: CVE-2026-5244 (🔒)
GCVE (CVE): GCVE-0-2026-5244
GCVE (VulDB): GCVE-100-354825
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 04/02/2026 09:48Changes: 04/02/2026 09:48 (61)
Complete: 🔍
Submitter: the_evilsocket
Cache ID: 216:59F:103
Submit
Accepted
- Submit #770063: Cesanta Mongoose 7.20 Heap-based Buffer Overflow (by the_evilsocket)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.