NULL Pointer Dereference Affecting cesanta/mongoose package, versions [,7.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CESANTAMONGOOSE-14105136
  • published25 Nov 2025
  • disclosed24 Nov 2025
  • creditQingpeng Du

Introduced: 24 Nov 2025

NewCVE-2025-65502  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade cesanta/mongoose to version 7.2 or higher.

Overview

cesanta/mongoose is a networking library for C/C++. It implements event-driven non-blocking APIs for TCP, UDP, HTTP, WebSocket, MQTT.

Affected versions of this package are vulnerable to NULL Pointer Dereference via the add_ca_certs function during TLS initialization when SSL_CTX_get_cert_store() returns NULL. An attacker can cause a crash and disrupt service availability by triggering this condition remotely.

CVSS Base Scores

version 4.0
version 3.1