Vulnerability · Published Apr 2, 2026 · Assigned by VulDB

CVE-2026-5246Cesanta Mongoose P-384 Public Key mongoose.c mg_tls_verify_cert_signature authorization

Medium 5.6

In plain English

A medium-severity authorization bypass via user-controlled key in Mongoose from Cesanta. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.6%top 48.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12swupdateno fix listedDEBIAN-CVE-2026-5246
Debian:13swupdateno fix listedDEBIAN-CVE-2026-5246
Debian:14swupdate2025.12+dfsg-10DEBIAN-CVE-2026-5246
Ubuntu:22.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5246
Ubuntu:24.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5246
Ubuntu:25.10swupdateno fix listedUBUNTU-CVE-2026-5246
Ubuntu:26.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5246
Ubuntu:26.10swupdateno fix listedUBUNTU-CVE-2026-5246

Affected products (as reported)

VendorProductVersions
Cesanta Mongoose 7.07.17.27.37.47.57.67.7

Weakness: CWE-639, CWE-285 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

References