Issue summary: OpenSSL CMP password based protection verification only checks whether the protectionAlg parameter was not NULL and not its ASN.1 type, before treating it as a PBMParameter. A crafted message can contain a parameter of a different type, which is then dereferenced as an invalid pointer.
Impact summary: A remote, unauthenticated attacker can crash an application acting as a CMP server that accepts PBM-protected messages, or a CMP client talking to a malicious or intercepted CMP server, resulting in a Denial of Service.
CWE: CWE-476: NULL Pointer Dereference
Description: When verifying the password-based MAC protection of a CMP
message, OpenSSL library reads the protectionAlg algorithm parameter with
X509_ALGOR_get0(), which returns both the parameter type and its value
pointer. The value is then cast to an ASN1_STRING and treated as the
expected PBMParameter after only checking that pointer is not NULL. The
parameter type returned by X509_ALGOR_get0() was never consulted.
This happens during protection verification, before any MAC is computed, so
no knowledge of the PBM shared secret is required; the only precondition is
that PBM verification is reachable. On the server side this is reached from
OSSL_CMP_SRV_process_request() for any application that stands up a CMP
server accepting PBM-protected messages, and on the client side from CMP
response validation against a malicious or on-path (MITM) server. The
reliable consequence is a denial of service; there is no memory disclosure,
no controlled memory write, and no path to code execution. CMP is a
specialized feature that an application must explicitly enable.
FIPS impact: no As the CMP code lives outside the FIPS module boundary, no FIPS modules are affected by this CVE.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"openssl:openssl": [
">= 3.0.0, < 3.0.22",
">= 3.4.0, < 3.4.7",
">= 3.5.0, < 3.5.8",
">= 3.6.0, < 3.6.4",
">= 4.0.0, < 4.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63076",
"id": "CVE-2026-63076",
"imported": "2026-12-01T22:40:04.860Z",
"modified": "2026-09-11T21:17:12.460Z",
"published": "2026-08-25T13:19:26.543Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-63076"
},
{
"html_url": "https://github.com/advisories/GHSA-r3hf-pf7x-wgqg",
"id": "GHSA-r3hf-pf7x-wgqg",
"imported": "2026-12-01T22:41:01.380Z",
"modified": "2026-08-25T15:33:06Z",
"published": "2026-08-25T15:32:58Z",
"url": "https://api.github.com/advisories/GHSA-r3hf-pf7x-wgqg"
},
{
"affected": {
"OpenSSL:OpenSSL": [
"3.0.0 <3.0.22",
"3.4.0 <3.4.7",
"3.5.0 <3.5.8",
"3.6.0 <3.6.4",
"4.0.0 <4.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-65487",
"id": "EUVD-2026-65487",
"imported": "2026-12-01T22:40:06.504Z",
"modified": "2026-08-25T14:37:32Z",
"published": "2026-08-25T13:00:11Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-65487"
}
]
}