Skip to content

Mongoose 7.24

Latest

Choose a tag to compare

@scaprile scaprile released this 18 Nov 12:56

Overview

This release adds fixes and improvements, and more examples.

Security fixes

  • [CVE-2026-106024] WebSocket continuation-frame sequencing validation
  • Built-in TCP/IP packet-family validation during connection lookup
  • Built-in TCP/IP IPv6 extension-header checksum validation
  • Built-in TCP/IP FIN packet payload handling
  • Built-in TCP/IP IPv4 and IPv6 fragment handling
  • HTTP header-table bounds validation
  • PPP frame length validation
  • HTTP request parsing and URL decoding hardening
  • WebSocket client-frame masking and length validation
  • Built-in TLS malformed-record and ClientHello extension validation
  • Built-in TLS certificate signature parsing, encoding, and verification failure handling
  • Built-in TLS certificate hostname, issuer, and CA configuration validation
  • Built-in TLS certificate timestamp validation
  • mbedTLS initialization failure handling
  • String wildcard path-segment validation

Important Changes

  • Added NXP i.MX RT1180 NETC Ethernet driver and OTA support
  • Added NXP MCXW71 and RW612 examples, including Ethernet/IPv4 over 802.15.4 bridging
  • Added mg_http_stream_body() for streaming HTTP uploads and push-based OTA, with public mg_http_ota_cb() support
  • Added HTTP file management to the web dashboard
  • Added Microsoft Azure MQTT support
  • Expanded device health diagnostics with crash records, coredumps, and memory/stack reporting for ESP32 and STM32H5/H7
  • Added optional TCP retransmission support to the built-in TCP/IP stack
  • Added STM32 Nucleo-C5A3ZG support
  • Improved Mongoose BSD socket layer compatibility, stability, and coverage
  • Built-in TLS now uses P-256 for key exchange; X25519 support was removed
  • Removed ESP8266 support
  • Directory listing is now explicitly enabled through mg_http_serve_opts.enable_dir_listing; MG_ENABLE_DIRLIST was removed
  • Renamed MG_OTA_FIRMWARE_VERSION to MG_FIRMWARE_VERSION

Minor changes

  • Added MQTT 5.0 CONNACK property parsing
  • Improved DHCP recovery when REQUEST or ACK packets are lost
  • Improved built-in TCP/IP flow control and error handling
  • Added an ESP32 minimal project with OTA support and crash diagnostics, plus an STM32H723 CubeMX project
  • Added OTA-ready partition layouts to the ESP32 device-dashboard project
  • Unified bare-metal projects and reorganized NXP and embedded tutorials
  • Improved LittleFS and FatFS support
  • Improved built-in TCP/IP retransmission testing and general test coverage
  • Fixed dashboard logout HTTP response framing