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

Attributed metadata history

REPORTPUBLIC METADATA

Mongoose - Use of Out-of-range Pointer Offset in X.509 Certificate ECDSA Signature Parsing

Mongoose - Use of Out-of-range Pointer Offset in X.509 Certificate ECDSA Signature Parsing In Mongoose, the built-in TLS stack (MG_TLS=MG_TLS_BUILTIN) parses the ECDSA signature of a peer's X.509 certificate in mg_tls_verify_cert_signature() (src/tls_builtin.c). The function copies the signature integers (r and s) using the attacker-supplied DER length fields without validating them against the actual buffer bounds. A remote, unauthenticated peer can trigger an out-of-bounds read, and a crash, during the TLS handshake.The ASN.1 DER encoding of the signature allows a length to be expressed in long form. A certificate whose signature declares an oversized length for the first INTEGER (r) is not rejected. For example, replacing 02 21 with 02 83 A0 00 00 declares a length of 10,485,760 bytes. mg_tls_verify_cert_signature() uses this value directly to copy data and advance its pointer. The memmove then reads far past the end of the signature buffer.The parsing happens in mg_tls_recv_cert(), before the signature or the trust chain is verified. A self-signed, untrusted certificate is therefore enough to reach the vulnerable code. The server must be built with the built-in TLS stack and configured to parse a peer certificate (for example, mg_tls_opts.ca is set so that the server requests a client certificate).The impact is a remote, unauthenticated denial of service. A single TLS handshake carrying the crafted certificate crashes the process with a SIGSEGV. This was reproduced both with AddressSanitizer and with a plain, non-instrumented build, where the process exits with code 139. Joshua Martinelle Tue, 11/24/2026 - 03:23

Reference details

Source category
research-report
First reported
Nov 24, 2026 08:23 UTC
Last reported
Nov 24, 2026 08:23 UTC
Catalog updated
Dec 05, 2026 03:22 UTC
Record ID
1662e0a24b4a73c7ccbba73b2b06d2a739f983dad04d7f9859f008232e62d429

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:23 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.