Home

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.

PUBLISHED Reserved 2026-03-31 | Published 2026-04-02 | Updated 2026-04-02 | Assigner VulDB




MEDIUM: 6.9CVSS: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
HIGH: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
HIGH: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Problem types

Heap-based Buffer Overflow

Memory Corruption

Product status

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

Timeline

2026-04-02:Advisory disclosed
2026-04-02:VulDB entry created
2026-04-02:VulDB entry last update

Credits

the_evilsocket (VulDB User) reporter

VulDB coordinator

References

vuldb.com/vuln/354825 (VDB-354825 | Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow) vdb-entry technical-description

vuldb.com/vuln/354825/cti (VDB-354825 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/submit/770063 (Submit #770063 | Cesanta Mongoose 7.20 Heap-based Buffer Overflow) third-party-advisory

github.com/...ommit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 patch

github.com/cesanta/mongoose/releases/tag/7.21 patch

github.com/cesanta/mongoose/ product

cve.org (CVE-2026-5244)

nvd.nist.gov (CVE-2026-5244)

Download JSON