CVE-2026-73261: Mongoose: handle_opt() missing opts[1] > len check — 1-byte OOB read corrupts TCP MSS, silences mg_send() per connection

Published Oct 14, 2026
·
Updated

Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TCP/IP stack enabled by MGENABLETCPIP in src/netbuiltin.c does not reject a TCP option whose declared opts[1] length exceeds the remaining option bytes. In handleopt(), a NOP followed by a truncated MSS option causes opts[3] to be read outside the declared options area and used as the low byte of dmss. An unauthenticated remote peer can corrupt the per-connection MSS value so later mgsend() calls transmit truncated or zero-length application payloads while the TCP connection otherwise appears healthy. This issue is fixed in version 7.23.

Affected Software

1 affected component
Cesanta Mongoose<7.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mongoose to a version that resolves this vulnerability.

    Fixed in 7.23

Event History

Oct 14, 2026
CVE Published
via MITRE·06:25 PM
Data Sourced
via MITRE·06:25 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Mongoose deployments are affected?

Deployments using the built-in TCP/IP stack enabled by MG_ENABLE_TCPIP in src/net_builtin.c are affected before version 7.23.

2

Does exploitation require authentication or application-level interaction?

No. An unauthenticated remote peer can trigger the issue by sending TCP options that include a NOP followed by a truncated MSS option.

3

What operational symptom could indicate exploitation?

The affected connection can remain apparently healthy while subsequent mg_send() calls transmit truncated or zero-length application payloads. The corruption is limited to the per-connection MSS value.

4

What version resolves the issue?

The issue is fixed in Mongoose version 7.23.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203