Vulnerability · Published Apr 2, 2026 · Assigned by VulDB
CVE-2026-5244Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
High 7.3
In plain English
A high-severity heap buffer overflow in Mongoose from Cesanta. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | swupdate | no fix listed | DEBIAN-CVE-2026-5244 |
| Debian:13 | swupdate | no fix listed | DEBIAN-CVE-2026-5244 |
| Debian:14 | swupdate | 2025.12+dfsg-10 | DEBIAN-CVE-2026-5244 |
| Ubuntu:22.04:LTS | swupdate | no fix listed | UBUNTU-CVE-2026-5244 |
| Ubuntu:24.04:LTS | swupdate | no fix listed | UBUNTU-CVE-2026-5244 |
| Ubuntu:25.10 | swupdate | no fix listed | UBUNTU-CVE-2026-5244 |
| Ubuntu:26.04:LTS | swupdate | no fix listed | UBUNTU-CVE-2026-5244 |
| Ubuntu:26.10 | swupdate | no fix listed | UBUNTU-CVE-2026-5244 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: 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
References
- VDB-354825 | Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow vdb-entry, technical-description
- VDB-354825 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #770063 | Cesanta Mongoose 7.20 Heap-based Buffer Overflow third-party-advisory
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 patch
- https://github.com/cesanta/mongoose/releases/tag/7.21 patch
- https://github.com/cesanta/mongoose/ product