CVE-2026-5244Cesanta Mongoose Heap-based Buffer Overflow
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 6.9 (MEDIUM)
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:PAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.3)
CVSS v3.1 Base Metrics — Score 7.3 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- Cesanta Mongoose 7.0
- Cesanta Mongoose 7.1
- Cesanta Mongoose 7.2
- Cesanta Mongoose 7.3
- Cesanta Mongoose 7.4
- Cesanta Mongoose 7.5
- Cesanta Mongoose 7.6
- Cesanta Mongoose 7.7
- Cesanta Mongoose 7.8
- Cesanta Mongoose 7.9
- 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
- Cesanta Mongoose 7.17
- Cesanta Mongoose 7.18
- Cesanta Mongoose 7.19
- Cesanta Mongoose 7.20
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Cesanta Mongoose and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 2, 2026Published
- Apr 2, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Cesanta Mongoose CVEsYou are reading CVE-2026-5244. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Advisoryhttps://vuldb.com/vuln/354825
- Advisoryhttps://vuldb.com/vuln/354825/cti
- Advisoryhttps://vuldb.com/submit/770063
- Patchhttps://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
- Patchhttps://github.com/cesanta/mongoose/releases/tag/7.21
- Referencehttps://github.com/cesanta/mongoose/
Data last checked: Nov 23, 2026 02:10 UTC