CVE-2026-5244

Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow

State
Published
Severity
6.9 Medium
Published
Apr 2, 2026
Updated
Apr 2, 2026
Reserved
Mar 31, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:PVulDB
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
3.07.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
2.07.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
MongooseCesanta
  • 7.0Affected
  • 7.1Affected
  • 7.2Affected
  • 7.3Affected
  • 7.4Affected
  • 7.5Affected
  • 7.6Affected
  • 7.7Affected
  • 7.8Affected
  • 7.9Affected
  • 7.10Affected
  • 7.11Affected
  • 7.12Affected
  • 7.13Affected
  • 7.14Affected
  • 7.15Affected
  • 7.16Affected
  • 7.17Affected
  • 7.18Affected
  • 7.19Affected
  • 7.20Affected
  • 7.21Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.