Skip to main content

Libgcrypt EUVDEUVD-2026-25193

| CVE-2026-41990 MEDIUM
Out-of-bounds Write (CWE-787)
2026-04-23 mitre GHSA-78pv-qq8x-94px
4.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access to system
  2. Delivery
    Invoke Dilithium signing with malicious parameters
  3. Exploit
    Trigger out-of-bounds write in static array
  4. Execution
    Corrupt adjacent memory
  5. Impact
    Forge signatures or crash service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to a system running Libgcrypt 1.12.0 or 1.12.1 with Dilithium signature functionality active. The vulnerability is triggered through specific Dilithium signing input parameters that cause the static array index to exceed bounds; the description does not specify exact parameter values, suggesting the condition depends on particular key sizes or message formats used in Dilithium operations. Non-privileged (PR:N) local users can trigger the vulnerability, but high complexity (AC:H) indicates that exploitation demands particular combinations of Dilithium parameters or environmental conditions that do not occur in all typical signing operations. Remote exploitation is not possible due to AV:L (local-only vector); Dilithium must be actively used by an application on the affected system.

Impact

CVSS 4.0 with local attack vector (AV:L), high complexity (AC:H), and non-privileged user requirement (PR:N) reflects a moderate real-world risk. The vulnerability requires local access and specific conditions to trigger (high complexity suggests non-trivial exploitation prerequisites), limiting exposure to local-only scenarios rather than remote compromise. The integrity (I:L) and availability (I:L) impacts indicate potential memory corruption and service disruption without confidentiality breach. EPSS probability is not provided in the input; however, the combination of AV:L and AC:H suggests lower exploitability likelihood compared to network-accessible vulnerabilities. KEV status (CISA active exploitation tracking) is not confirmed in the input data. The vulnerability's reliance on local access and high complexity substantially reduces priority compared to unauthenticated network vulnerabilities, despite the memory corruption severity.

Exploit ScenarioDerived

A local user on a system running Libgcrypt 1.12.0 or 1.12.1 crafts a Dilithium signature operation with specific parameters that trigger the out-of-bounds write in the static array during signing. This write corrupts adjacent heap or stack memory, potentially causing the cryptographic operation to return incorrect signatures (integrity violation) or crash the calling process (availability impact). A malicious local user could exploit this to forge signatures or disrupt services relying on Libgcrypt's cryptographic functions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 23, 2026

Libgcrypt before version 1.12.2 contains a bounds-check vulnerability in Dilithium signing operations where writes to a static array lack proper bounds validation, potentially causing memory corruption and integrity loss. The vulnerability affects local attackers with non-privileged access on systems running vulnerable versions 1.12.0 and 1.12.1. While the vulnerability does not involve attacker-controlled data in the array writes themselves, the missing bounds check creates an integrity and availability risk through uncontrolled memory modification.

RemediationAI

Vendor-released patch: Libgcrypt 1.12.2 or later. Update the Libgcrypt library package immediately through your distribution's package manager (apt, yum, pacman, etc.) or download directly from https://dev.gnupg.org/. Rebuilding dependent applications (GnuPG, OpenSSL, or custom applications linked against Libgcrypt) may be necessary after the library upgrade. If immediate patching is not possible, restrict local system access to untrusted users and monitor for memory corruption errors in application logs; however, this does not eliminate the underlying risk and should be treated as temporary only. Verify successful patching by confirming Libgcrypt version with libgcrypt-config --version returns 1.12.2 or higher.

Affected VersionsENISA

Libgcrypt 1.12.0 <1.12.2

Affected Packages

euvd libgcrypt fix: 1.12.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Libgcrypt is the cryptographic library underlying GnuPG and other applications requiring cryptographic primitives. This vulnerability resides in the Dilithium signature algorithm implementation (NIST FIPS 204 post-quantum cryptography standard). The root cause is classified as CWE-787 (Out-of-bounds Write) - specifically, a static array used during Dilithium signing receives writes without validating that indices remain within allocated bounds. Although the vulnerability description notes that attacker-controlled data is not directly used in the array indexing, the lack of bounds enforcement means that legitimate code paths with certain input parameters can write beyond the array's boundaries, corrupting adjacent memory.

Know when Libgcrypt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.0 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
SUSE 3.6 LOW
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Red Hat 3.3 LOW

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 18:33 nvd
Patch available
Patch available
Apr 23, 2026 - 06:16 EUVD
CVE Published
Apr 23, 2026 - 04:39 nvd
MEDIUM 4.0

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2018-6829 HIGH POC
7.5 Feb 07

cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, whic

CVE-2021-40528 MEDIUM POC
5.9 Sep 06

The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two c

CVE-2018-0495 MEDIUM POC
4.7 Jun 13

Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be

CVE-2026-41989 MEDIUM
6.7 Apr 23

Heap-based buffer overflow in Libgcrypt before 1.12.2 allows local attackers to trigger denial of service and corrupt me

CVE-2021-3345 HIGH
7.8 Jan 29

_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest

CVE-2021-33560 HIGH
7.5 Jun 08

Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to addres

CVE-2017-0379 HIGH
7.5 Aug 29

Libgcrypt before 1.8.1 does not properly consider Curve25519 side-channel attacks, which makes it easier for attackers t

CVE-2019-12904 MEDIUM
5.9 Jun 20

In Libgcrypt 1.8.4, the C implementation of AES is vulnerable to a flush-and-reload side-channel attack because physical

CVE-2017-9526 MEDIUM
5.9 Jun 11

In Libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from side-channel observation during the signin

CVE-2016-6313 MEDIUM
5.3 Dec 13

The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.

CVE-2014-5270 LOW
2.1 Oct 10

Libgcrypt before 1.5.4, as used in GnuPG and other products, does not properly perform ciphertext normalization and ciph

CVE-2015-7511 LOW
2.0 Apr 19

Libgcrypt before 1.6.5 does not properly perform elliptic-point curve multiplication during decryption, which makes it e

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy