CVE-2025-65502 Null dereference in n/a

Medium 4.3 Published Updated

Remote attackers can cause denial of service in Cesanta Mongoose via TLS initialization when SSL_CTX_get_cert_store returns NULL.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-65502?

CVE-2025-65502 is a medium-severity vulnerability in Cesanta Mongoose, published on 24 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Null pointer dereference in add_ca_certs() in Cesanta Mongoose before 7.2 allows remote attackers to cause a denial of service via TLS initialization where SSL_CTX_get_cert_store() returns NULL.

Weakness: CWE-476

Which versions are affected by CVE-2025-65502?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2025-65502?

Upgrade to a fixed version.

Is CVE-2025-65502 being exploited?

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-65502, GHSA-hp7w-j9mx-8vpj, UBUNTU-CVE-2025-65502.

Is CVE-2025-65502 in your software?

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

Check your SBOMs for free