Use of Out-of-range Pointer Offset in Mongoose - #VU168687

 

Use of Out-of-range Pointer Offset in Mongoose - #VU168687

Published: November 20, 2026


Vulnerability identifier: #VU168687
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-823
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing the Mongoose process.

The vulnerability exists due to the use of an out-of-range pointer offset in mg_tls_verify_cert_signature() when parsing X.509 ECDSA signatures without checking the encoded lengths against the signature buffer bounds. A remote attacker can present a malformed peer certificate during a handshake with a Mongoose endpoint configured to verify peer certificates using built-in TLS to trigger an out-of-bounds read and crash the process before certificate trust is established.


Affected software

Mongoose

Remediation

Install security update from vendor's website.

Mongoose - update to 7.24

External References

Related Security Bulletins