CVE-2026-5246Cesanta Mongoose P-384 Public Key mongoose.c mg_tls_verify_cert_signature authorization
A vulnerability was determined in Cesanta Mongoose up to 7.20. Affected is the function mg_tls_verify_cert_signature of the file mongoose.c of the component P-384 Public Key Handler. Executing a manipulation can lead to authorization bypass. The attack can be executed remotely. Attacks of this nature are highly complex. The exploitability is told to be difficult. The exploit has been publicly disclosed and may be utilized. Upgrading to version 7.21 is able to address this issue. This patch is called 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | swupdate | Fix pending | UBUNTU-CVE-2026-5246 | |
| Ubuntu 26.04 | swupdate | Fix pending | UBUNTU-CVE-2026-5246 | |
| Ubuntu 25.10 | swupdate | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-5246 | |
| Ubuntu 24.04 | swupdate | Fix pending | UBUNTU-CVE-2026-5246 | |
| Ubuntu 22.04 | swupdate | Fix pending | UBUNTU-CVE-2026-5246 | |
| Debian 14 | swupdate | Fixed | 2025.12+dfsg-10 | DEBIAN-CVE-2026-5246 |
| Debian 13 | swupdate | Fix pending | DEBIAN-CVE-2026-5246 | |
| Debian 12 | swupdate | Fix pending | DEBIAN-CVE-2026-5246 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cesanta Mongoose: affected: 7.0, 7.1, 7.2, 7.3, 7.4, 7.5
Vendor advisories:
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 (patch)
- https://github.com/cesanta/mongoose/releases/tag/7.21 (patch)
References
- https://vuldb.com/vuln/354827
- https://vuldb.com/vuln/354827/cti
- https://vuldb.com/submit/770104
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
- https://github.com/cesanta/mongoose/releases/tag/7.21
- https://github.com/cesanta/mongoose/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.