Description
Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS certificate parser selected by MG_TLS_BUILTIN fails to verify that a long-form DER element length fits within the remaining certificate buffer. In mg_der_to_tlv() and mg_der_next(), a peer-controlled length can advance the parser beyond the certificate and underflow the remaining uint32_t length, causing mg_tls_parse_cert_der() to continue walking an invalid pointer. An unauthenticated malicious TLS server, or a client presenting a certificate to a server configured for client certificates, can trigger an out-of-bounds read and denial of service during the handshake. This issue is fixed in version 7.23.
Published: 2026-10-14
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via OOB Read
Action: Patch
AI Analysis

Impact

A buffer underflow in Mongoose’s TLS DER parser allows a peer‑controlled length field to cause the parser to read beyond the bounds of the certificate buffer, producing an out‑of‑bounds read and potentially crashing the TLS handshake. The flaw is a classic out‑of‑bounds read (CWE‑125) that can lead to a denial of service when the server processes a malformed certificate during the handshake.

Affected Systems

The issue impacts every Cesanta Mongoose embedded web server and network library release older than version 7.23. The vulnerability is triggered when an unauthenticated TLS server sends a malformed certificate, or when a client presents a malicious certificate to a server that is configured to require client certificates. Both scenarios can be observed in typical IoT or embedded environments that rely on Mongoose for secure communication.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.5, qualifying it as high severity. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog. Attackers can trigger the flaw simply by acting as a malicious TLS peer; authentication is not required. Because the failure occurs during the TLS handshake, the impact manifests as a denial of service, potentially disrupting all traffic to the affected server until the connection is reset or the server is restarted.

Generated by OpenCVE AI on October 15, 2026 at 14:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mongoose to version 7.23 or later.
  • Restrict TLS connections to trusted peers by disabling client certificate authentication if it is not required.
  • Monitor TLS handshake logs for repeated failures indicating a potential out‑of‑bounds read attack.

Generated by OpenCVE AI on October 15, 2026 at 14:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Cesanta
Cesanta mongoose
Vendors & Products Cesanta
Cesanta mongoose

Tue, 20 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
Description Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS certificate parser selected by MG_TLS_BUILTIN fails to verify that a long-form DER element length fits within the remaining certificate buffer. In mg_der_to_tlv() and mg_der_next(), a peer-controlled length can advance the parser beyond the certificate and underflow the remaining uint32_t length, causing mg_tls_parse_cert_der() to continue walking an invalid pointer. An unauthenticated malicious TLS server, or a client presenting a certificate to a server configured for client certificates, can trigger an out-of-bounds read and denial of service during the handshake. This issue is fixed in version 7.23.
Title Mongoose: Out-of-bounds Read via length-counter underflow in built-in TLS X.509 DER parser
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Cesanta Mongoose
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-20T01:50:00.898Z

Reserved: 2026-08-11T17:18:01.598Z

Link: CVE-2026-73260

cve-icon Vulnrichment

Updated: 2026-10-20T01:49:56.940Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T19:17:19.840

Modified: 2026-10-20T02:17:11.720

Link: CVE-2026-73260

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T22:45:13Z

Weaknesses