JLSEC-2026-2422: Critical severity julia/mongoose_jll vulnerability

Published Dec 4, 2026
·
Updated

Mongoose is an embedded web server and network library. From 7.17 until 7.24, Mongoose's MGTLSBUILTIN client in src/tlsbuiltin.c can accept an attacker-controlled server certificate chain when configured with a single DER CA certificate and processing a peer-provided chain, because mgtlsverifycertsignature() can return a negative issuer-key parsing result that callers negate as though verification succeeded. A crafted issuer with the trusted CA subject and public-key bytes but an unparseable RSA encoding can pair with an attacker-self-signed leaf that is not signed by the trusted CA, allowing a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key. This issue is fixed in 7.24.

Affected Software

1 affected component
julia/mongoose_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release 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 certificate-validation bypass?

The affected component is Mongoose's MG_TLS_BUILTIN client in versions 7.17 through before 7.24. Exposure requires configuring that client with a single DER-encoded CA certificate and having it process a server-provided certificate chain.

2

What must an attacker be able to do to exploit the issue?

An attacker must be able to redirect or otherwise intercept the client's connection and present a crafted certificate chain during a TLS 1.3 handshake. The attacker does not need the trusted CA's private key.

3

Are clients using other TLS configurations affected?

The described bypass is specific to the MG_TLS_BUILTIN client configuration that uses a single DER CA certificate. The provided information does not establish impact for other TLS backends or CA-certificate configurations.

4

What is the remediation?

Update Mongoose to version 7.24, which fixes the issue. No alternative mitigation is provided in the available data.

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