SecurityContext

CVE-2026-5244: Cesanta Mongoose - Buffer Overflow

  • Cve: CVE-2026-5244
  • Name: Cesanta Mongoose - Buffer Overflow
  • 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.
  • Impact: Remote attackers can cause memory corruption leading to potential code execution or denial of service.
  • Remediation: Upgrade to version 7.21.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00772
  • Epss percentile: 0.56623
  • Assignee: [email protected]
  • Published at: 2026-04-02T08:16:28Z
  • Age in days: 236
  • Modified at: 2026-10-26T22:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5244
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://vuldb.com/submit/770063nvd2026-04-02

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1Patch
https://vuldb.com/submit/770063Exploit, Third Party Advisory, VDB Entry
https://vuldb.com/vuln/354825Third Party Advisory, VDB Entry
https://github.com/cesanta/mongoose/Product
https://github.com/cesanta/mongoose/releases/tag/7.21Product, Release Notes
https://vuldb.com/vuln/354825/ctiPermissions Required, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
cesanta:mongoose>= 7.0, < 7.21nonvd/v1/products/cesanta/mongoose

Projects

RepositoryLink kindsIndexedUrl
cesanta/mongoosecommit, fix, releasesyes/v1/repositories/cesanta/mongoose

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-02
  • Remote: yes
  • Exposed hosts: 22889
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports