CVE-2021-26529 Memory corruption in n/a

Critical 9.1 Published Updated

Remote attackers can trigger out-of-bounds writes in Cesanta Mongoose via crafted requests, potentially leading to code execution or service disruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-26529?

CVE-2021-26529 is a critical memory corruption vulnerability in Cesanta Mongoose, published on 8 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.

Weakness: CWE-787

Which versions are affected by CVE-2021-26529?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2021-26529?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-26529 being exploited?

There is no known exploitation of CVE-2021-26529 in the wild and no public exploit code.

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-26529, GHSA-h9wv-3h63-q247.

Is CVE-2021-26529 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free