CVE-2026-141472

NameCVE-2026-141472
DescriptionMongoose 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 mg_tls_server_recv_hello() in src/tls_builtin.c and the generated mongoose.c when Mongoose uses MG_TLS_BUILTIN 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mongoose (PTS)forky, sid7.24+ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mongoosesource(unstable)7.24+ds-1

Notes

https://github.com/cesanta/mongoose/security/advisories/GHSA-5pqr-x9r9-jx3h
https://github.com/cesanta/mongoose/commit/22a94c09060c5b95dfc95eab2d1e4556a72f62a2 (7.24)

Search for package or bug name: Reporting problems