CVE-2026-73260 Mongoose: Out-of-bounds Read via length-counter underflow in built-in TLS X.509 DER parser
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongoose(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/mongoose(Debian 14) | < 7.23+ds-1; = 7.21+ds-1; = 7.21+ds-1~bpo13+1; = 7.21+ds-2 +3 more | 7.23+ds-1 | Fixed |
| cesanta mongoose | = < 7.23 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cesanta mongoose | = < 7.23 | No fix listed |
| debian/mongoose(Debian:14) | < 7.23+ds-1 | 7.23+ds-1 |
| debian/mongoose(Debian:14) | = 7.21+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-2 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.23+ds-1~bpo13+1 | No fix listed |
| ubuntu/mongoose(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2552782 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e
- https://github.com/cesanta/mongoose/releases/tag/7.23
- https://github.com/cesanta/mongoose/security/advisories/GHSA-f6wr-mg35-p25g
- Debian Security Tracker CVE-2026-73260 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-101597 third-party-advisory