AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Mongoose - Improper Validation of Array Index in X.509 Certificate Validity Date Parsing

Mongoose - Improper Validation of Array Index in X.509 Certificate Validity Date Parsing Note: This vulnerability was independently discovered by Tenable Research and other researchers.Note: The CVSS vector differs from our own assessment (C:N/I:N/A:H). We score the 64-bit crash as an availability impact, which the vendor advisory does not.In Mongoose, the built-in TLS stack (MG_TLS=MG_TLS_BUILTIN) parses the validity timestamps of a peer's X.509 certificate with asnt2t(), which hands the result to mg_timegm() without validating the month field. A remote, unauthenticated peer can trigger an out-of-bounds read during the TLS handshake.The upstream DER checks only look at the ASN.1 type tag (0x17 or 0x18 and the length (13 or 15 bytes), never at the content. asnt2t() then reads the digits straight from the certificate bytes. A timestamp such as 20250015120000Z, which has a month value of 0, therefore reaches mg_timegm() unchecked.The mg_timegm() function in src/util.c uses the dm[12] table of cumulative day counts per month and indexes it with month - 1. With a month of 0, the unsigned arithmetic wraps and produces the index 4294967295, which is far outside the bounds of the array.The consequences depend on the architecture. On 32-bit embedded targets, the read lands at a predictable offset from the dm array, which leaks memory contents. The returned value feeds into the certificate validity check (accept or reject), so an attacker can use different month values as an oracle to infer what is in memory at those addresses. On 64-bit systems, the read crashes the process, which results in a denial of service. Joshua Martinelle Tue, 11/24/2026 - 03:15

Reference details

Source category
research-report
First reported
Nov 24, 2026 08:15 UTC
Last reported
Nov 24, 2026 08:15 UTC
Catalog updated
Dec 05, 2026 03:22 UTC
Record ID
5f6d6f337f55774307dc46027c447097c11d34b262d415bf7a68e7c1a33d73d8

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_1653fbf8e2da6d59a7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 24, 2026 08:15 UTC
Retrieved
Dec 05, 2026 03:22 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_1653fbf8e2da6d59a7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.