JLSEC-2026-2418: Medium severity julia/mongoose_jll vulnerability

Published Dec 4, 2026
·
Updated

Mongoose is an embedded web server and network library. Prior to 7.22, mgpathissane in src/util.c read path.buf[1] without first requiring path.len to be at least two and read s[2] when only two bytes remained. Unauthenticated remote requests reaching mghttpupload or mghttpservedir with the affected short path shapes could therefore trigger one-byte heap out-of-bounds reads. On bare-metal or RTOS targets without memory protection, the adjacent byte could be exposed or influence whether a path was accepted, and instrumented builds could crash. This issue is fixed in version 7.22.

Affected Software

1 affected componentFixes available
julia/mongoose_jll<7.23.0+0
7.23.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/Mongoose_jll to a version that resolves this vulnerability.

    Fixed in 7.23.0+0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.22

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 unauthenticated exploitation?

Deployments that expose Mongoose HTTP handling and route requests to mg_http_upload or mg_http_serve_dir are affected before version 7.22. No authentication or user interaction is required.

2

Are all affected systems impacted in the same way?

The described impact is most significant on bare-metal or RTOS targets without memory protection, where an adjacent heap byte could be exposed or affect path acceptance. Instrumented builds may crash when the out-of-bounds read occurs.

3

What should be done if the application cannot be updated immediately?

The provided information identifies the vulnerable request paths as mg_http_upload and mg_http_serve_dir. Restricting unauthenticated remote access to endpoints that reach those handlers can reduce exposure until upgrading to 7.22.

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