CVE-2026-5245

Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow

HIGH
8.1
CVSS Score
Published: April 2, 2026 at 09:00 AM UTC
Updated: October 26, 2026 at 09:10 PM UTC
1 product affected across 1 vendorMongoose

Using Mongoose by Cesanta?

Get instant alerts when new vulnerabilities affect Mongoose - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should 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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 7.21 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (6)

VDB EntryTechnical DescriptionThird Party Advisory
Source: cverecord
https://vuldb.com/vuln/354826
SignaturePermissions RequiredVDB Entry
Source: cverecord
https://vuldb.com/vuln/354826/cti
Third Party AdvisoryVDB Entry
Source: cverecord
https://vuldb.com/submit/770103
PatchProductRelease Notes
Source: cverecord
https://github.com/cesanta/mongoose/releases/tag/7.21
Product
Source: cverecord
https://github.com/cesanta/mongoose/

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-121CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card