CVE-2026-5244
published medium CVSS 4.0 · 6.9Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cesanta | — | Mongoose7.0 (affected) · 7.1 (affected) · 7.2 (affected) · 7.3 (affected) · 7.4 (affected) · 7.5 (affected) · 7.6 (affected) · 7.7 (affected) · 7.8 (affected) · 7.9 (affected) · 7.10 (affected) · 7.11 (affected) · 7.12 (affected) · 7.13 (affected) · 7.14 (affected) · 7.15 (affected) · 7.16 (affected) · 7.17 (affected) · 7.18 (affected) · 7.19 (affected) · 7.20 (affected) · 7.21 (unaffected) | Version-specific | Not stated | VulDB |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cesanta | Mongoose | 7.0 (affected)7.1 (affected)7.2 (affected)7.3 (affected)7.4 (affected)7.5 (affected)7.6 (affected)7.7 (affected)7.8 (affected)7.9 (affected)7.10 (affected)7.11 (affected)7.12 (affected)7.13 (affected)7.14 (affected)7.15 (affected)7.16 (affected)7.17 (affected)7.18 (affected)7.19 (affected)7.20 (affected)7.21 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-122 Heap-based Buffer Overflow
- CWE-119 Memory Corruption
References
6- https://github.com/cesanta/mongoose/
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
- https://github.com/cesanta/mongoose/releases/tag/7.21
- Submit #770063 | Cesanta Mongoose 7.20 Heap-based Buffer Overflow https://vuldb.com/submit/770063
- VDB-354825 | Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow https://vuldb.com/vuln/354825
- VDB-354825 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/354825/cti
Provider assertions
2VulDB · cna
Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d33adba7e110d709e283cfb953f664aace6c6a290fc6b125b36cc90d8c330e92
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record