Skip to content
Mongoose TLS Flaw: Out-of-Bounds Read in X.509 Date Parsing

Mongoose TLS Flaw: Out-of-Bounds Read in X.509 Date Parsing

First seen 24 Nov 2026, 17:22 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 24, 2026 at 17:24 UTC
  • •Mongoose's built-in TLS stack (MG_TLS=MG_TLS_BUILTIN) fails to validate the month field in X.509 certificate timestamps.
  • •A remote, unauthenticated peer can trigger the out-of-bounds read during the TLS handshake.
  • •Per Tenable, impact is information leakage on 32-bit embedded targets and denial of service on 64-bit systems.
  • •No CVE, patched version, or exploitation in the wild is reported in the available article.
  • •Tenable's CVSS vector differs from the vendor advisory's assessment of availability impact.

Tenable Research published an advisory (TRA-2026-70) on a vulnerability in Mongoose's built-in TLS stack, tracked as an improper validation of an array index during X.509 certificate validity date parsing.

The asnt2t() function passes certificate timestamps to mg_timegm() without validating the month field, so a month value of 0 causes unsigned index wraparound to 4294967295 in the dm[12] day-count table. A remote, unauthenticated peer can trigger this out-of-bounds read during the TLS handshake.

Per Tenable, on 32-bit embedded targets the read lands at a predictable offset and can leak memory contents via the accept/reject result as an oracle. Per Tenable, on 64-bit systems the read crashes the process, causing denial of service.

Tenable states it scores the 64-bit crash as an availability impact (C:H/I:N/A:H), which it says differs from the vendor advisory. Tenable notes the vulnerability was independently discovered by other researchers. The articles provide no CVE identifier, patch version, or exploitation reports.

This Tenable text is the only source in the cluster.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-24
Tenable publishes advisory TRA-2026-70 on Mongoose TLS flaw
Tenable Research published details of the X.509 validity date parsing out-of-bounds read, noting independent discovery by other researchers.
Tenable

More articles in this cluster (2)

Following this threat?

Track Tenable in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected if I use Mongoose?
Only if you build Mongoose with the built-in TLS stack (MG_TLS=MG_TLS_BUILTIN), according to Tenable's description of the flaw.
Is there a patch available?
The article does not identify a patched version or fix, so check the Mongoose vendor advisory directly.
How severe is this?
Tenable describes memory disclosure on 32-bit embedded targets and crashes on 64-bit systems; Tenable's CVSS vector (C:H/I:N/A:H) differs from the vendor's assessment.