JLSEC-2026-2421: High severity julia/mongoose_jll vulnerability

Published Dec 4, 2026
·
Updated

Mongoose is an embedded web server and network library. From 7.21 until 7.24, Mongoose's built-in TCP/IP stack with MGENABLETCPIP and MGENABLEIPV6 enabled can dereference a null IPv4 header in getpeer() in src/netbuiltin.c when rxtcp() receives an IPv6/TCP packet whose source and destination ports match an established IPv4 connection. The cross-family lookup reaches pkt->ip->src even though only pkt->ip6 is present, allowing a network attacker able to deliver IPv6 packets to crash the process or networking task. This issue is fixed in 7.24.

Affected Software

1 affected component
julia/mongoose_jll>=7.21.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mongoose to a version that resolves this vulnerability.

    Fixed in 7.24

Event History

Dec 4, 2026
Advisory Published
via OSV·07:49 PM
Data Sourced
via OSV·07:49 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this crash?

Deployments using Mongoose versions from 7.21 through before 7.24 are exposed only when the built-in TCP/IP stack is enabled with both MG_ENABLE_TCPIP and MG_ENABLE_IPV6. The affected component is the built-in stack, not necessarily every use of the library.

2

What does an attacker need to exploit the issue?

An attacker needs network access sufficient to deliver IPv6/TCP packets to the affected process or networking task. No authentication, privileges, or user interaction are required; the packet ports must match an established IPv4 connection.

3

What is the impact of successful exploitation?

The malformed cross-family connection lookup can dereference a null IPv4 header and crash the affected process or networking task. The provided information describes an availability impact, not confidentiality or integrity impact.

4

What can be done if upgrading is not immediately possible?

Disable either MG_ENABLE_TCPIP or MG_ENABLE_IPV6 where operationally feasible, since both options must be enabled for the described vulnerable path. Restricting delivery of IPv6 traffic to the affected service can also reduce exposure where network controls permit.

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