CVE-2026-5245

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

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

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PVulDB
3.15.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
3.05.6 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
2.05.1 MediumAV:N/AC:H/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.