Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-5245: A vulnerability was found in Cesanta Mongoose up to 7.20

38
Routine
MEDIUM 5.6REMOTEUPGRADE

CVE-2026-5245 is a medium-severity flaw (CVSS 5.6) affecting mongoose. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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. Upg

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.6 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.7% (top 47%)
CISA exploited listNo
WeaknessCWE-119, CWE-121
Published2026-04-02
Last modified2026-10-26
Publisher (CNA): VulDB · Vendor: cesanta

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

cesanta mongoose UPGRADE
Affected: >= 7.0 and < 7.21
Fixed in: 7.21
Safe to downgrade to: a release before 7.0
1. Check installed version
apt-cache policy mongoose || rpm -q mongoose || mongoose --version
2. UPGRADE to 7.21 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mongoose
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mongoose
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0 (Debian / Ubuntu)
apt-cache madison mongoose sudo apt install mongoose=<VERSION_BEFORE_7.0> sudo apt-mark hold mongoose
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mongoose sudo dnf downgrade mongoose-<VERSION_BEFORE_7.0> sudo dnf versionlock add mongoose
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-5245?

mongoose: upgrade to 7.21. Exact commands for each OS are on this page.

Is CVE-2026-5245 being exploited?

CVE-2026-5245 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-5245 affect?

CVE-2026-5245 affects mongoose. Severity is medium (CVSS 5.6). 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

How urgent is CVE-2026-5245?

Priority 38/100. Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.