Security Vulnerability Report
中文
CVE-2026-41990 CVSS 4.0 MEDIUM

CVE-2026-41990

Published: 2026-04-23 05:16:06
Last Modified: 2026-04-27 18:33:27

Description

Libgcrypt before 1.12.2 mishandles Dilithium signing. Writes to a static array lack a bounds check but do not use attacker-controlled data.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:* - VULNERABLE
Libgcrypt < 1.12.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC for CVE-2026-41990 (Conceptual) * Vulnerability: Libgcrypt before 1.12.2 mishandles Dilithium signing. * Issue: Writes to a static array lack a bounds check. * Note: The write does not use attacker-controlled data, so this PoC * demonstrates the context of the vulnerability rather than an exploit. */ #include <stdio.h> #include <gcrypt.h> int main() { // Check if vulnerable version is present (e.g., 1.12.1) if (!gcry_check_version ("1.12.1")) { printf("Libgcrypt version check failed or not vulnerable version."); return 1; } gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); printf("Libgcrypt initialized. Testing Dilithium signing context...\n"); // To actually trigger the bug, one would need to generate keys // and perform signing operations that hit the specific code path // where the static array overflow occurs. // Since the data is not attacker-controlled, the impact is limited. printf("PoC execution completed. Monitor for crashes/corruption."); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41990", "sourceIdentifier": "[email protected]", "published": "2026-04-23T05:16:05.897", "lastModified": "2026-04-27T18:33:27.050", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Libgcrypt before 1.12.2 mishandles Dilithium signing. Writes to a static array lack a bounds check but do not use attacker-controlled data."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.4, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.12.0", "versionEndExcluding": "1.12.2", "matchCriteriaId": "DD6AEDAC-5EDC-4918-877A-A16792DB52A2"}]}]}], "references": [{"url": "https://dev.gnupg.org/T8208", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000503.html", "source": "[email protected]", "tags": ["Mailing List", "Release Notes"]}, {"url": "https://www.openwall.com/lists/oss-security/2026/04/21/1", "source": "[email protected]", "tags": ["Mailing List", "Release Notes"]}]}}