JLSEC-2026-2423: High severity julia/mongoose_jll vulnerability
Mongoose is an embedded web server and network library. Prior to 7.24, a remote unauthenticated TLS client can cause a heap out-of-bounds read in mgtlsserverrecvhello() in src/tlsbuiltin.c and the generated mongoose.c when Mongoose uses MGTLSBUILTIN and a ClientHello extension block ends with fewer than four bytes. The parser reads the extension length before checking that the type and length header is complete, and related key-share length reads also lack minimum-structure validation, allowing a malformed handshake to terminate the worker or process. This issue is fixed in 7.24.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Mongooseto a version that resolves this vulnerability.Fixed in 7.24
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Mongoose versions before 7.24 with the built-in TLS implementation enabled through MG_TLS_BUILTIN are exposed. The affected code is in the TLS server ClientHello parser.
What does an attacker need to exploit this issue?
An attacker only needs network access to the TLS service and can send a malformed TLS ClientHello. No authentication or user interaction is required.
What is the likely impact of exploitation?
A malformed handshake can trigger a heap out-of-bounds read and terminate the affected worker or process, causing a denial of service. The provided information does not indicate confidentiality or integrity impact.
What should be done if an immediate upgrade is not possible?
The provided data identifies MG_TLS_BUILTIN as the affected TLS configuration. Until upgrading to 7.24, limit untrusted network access to TLS endpoints using that configuration where possible.
How can I determine whether an installation is affected?
Check whether the bundled Mongoose version is earlier than 7.24 and whether the deployment uses MG_TLS_BUILTIN. Systems not using the built-in TLS implementation are not identified as affected by the provided information.