CVE-2026-5244

critical
Published 2026-04-02 · Modified 2026-04-29
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-5244

vendor Authored 2026-05-27

Vendor advisory: cna@vuldb.com — https://github.com/cesanta/mongoose/releases/tag/7.21

vendor Authored 2026-05-27

Vendor advisory: cna@vuldb.com — https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1

OS impact

OSVersionStatusFixed in
debian debianforkyfixed0
debian debiansidfixed0
debian debianbookwormaffected
debian debianbullseyeaffected
debian debiantrixieaffected

Application impact

VendorProductVersionsFixed
cesantamongoose{"startIncluding":"7.0","endExcluding":"7.21"}7.21

References

CWEs

CWE-119 CWE-122

Verify integrity in audit chain (admin only). AS-IS.