Skip to main content
VulnerabilityPublished

CVE-2026-5244: Cesanta Mongoose · Heap-based Buffer Overflow

Affects Cesanta MongooseSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium · fixed in 7.21 : patch Cesanta Mongoose as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 7.21
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
CesantaMongooseAffected
  • 7.0 – 7.20
21 affected builds
Fixed in–
GitHubcesanta/mongoosepkg:github/cesanta/mongooseOther threatsAffected
  • 7.0 – 7.20
21 affected builds
Fixed in–

CPE configurations (1)

  • cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version 7.21 of Cesanta Mongoose has been released by the vendor to address this vulnerability. It is strongly recommended to upgrade to version 7.21 or later. Since this is not a cloud service, remediation depends on applying the vendor's patch. Patch status is confirmed by the vendor's official release and the provided patch commit.

Description

CVE-2026-5244 is a heap-based buffer overflow vulnerability in Cesanta Mongoose versions up to 7.20, specifically in the mg_tls_recv_cert function of the TLS 1.3 Handler component. The vulnerability arises from improper handling of the pubkey argument, which can be manipulated remotely to trigger the overflow. A public exploit has been disclosed. The vendor has released version 7.21 to address this issue.

References

Community reviews

Loading reviews…