Out-of-bounds Read Affecting mongoose package, versions <7.23+ds-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-MONGOOSE-18778399
  • published14 Aug 2026
  • disclosed14 Oct 2026

Introduced: 14 Aug 2026

CVE-2026-73252  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Debian:unstable mongoose to version 7.23+ds-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mongoose package and not the mongoose package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS stack selected by MG_TLS_BUILTIN in src/tls_builtin.c accepts a TLS 1.3 record whose decrypted size is exactly the 16-byte authentication tag with no plaintext or ContentType byte. In mg_tls_recv_record(), the msgsz length check permits that record and the recv_len calculation underflows to SIZE_MAX, so a later handshake step treats stale buffer contents as a trusted message with an effectively unbounded length. An unauthenticated malicious TLS peer can trigger a heap out-of-bounds read before certificate or Finished validation, causing a remote denial of service. This issue is fixed in version 7.23.