# CVE-2026-73260: Mongoose: Out-of-bounds Read via length-counter underflow in built-in TLS X.509 DER parser

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-10-14T18:25:00.518Z
- Modified: 2026-10-20T02:17:11.720Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cesanta mongoose: < 7.23

## References

- <https://github.com/cesanta/mongoose/security/advisories/GHSA-f6wr-mg35-p25g>
- <https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e>
- <https://github.com/cesanta/mongoose/releases/tag/7.23>

## Sources

- CVE List: [CVE-2026-73260](https://www.cve.org/CVERecord?id=CVE-2026-73260), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-73260](https://nvd.nist.gov/vuln/detail/CVE-2026-73260), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-73260 · Whole record: https://cve.day/CVE-2026-73260.json · Rebuilt by cve.day 2026-11-25T22:59:44.791Z
