Skip to main content
EPSS 0.2%top 92%

CVE-2026-41989: CWE-787 Out-of-bounds Write in gnupg Libgcrypt

0
Medium
Published: 04/23/2026 (04/23/2026, 04:30:26 UTC)
Source: GCVE Database
Vendor/Project: gnupg
Product: Libgcrypt

Description

Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.

CVSS v3.1

Score 6.7medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

Affected versions
Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux BaseOS (v. 8)srclibgcrypt-0:1.8.5-8.el8_10.srcRed Hat Enterprise Linux AppStream (v. 10)Red Hat Enterprise Linux BaseOS (v. 10)aarch64Red Hat Hardened Imageslibgcrypt-main@aarch64Red Hat Enterprise Linux AppStream (v. 9)Red Hat Enterprise Linux BaseOS (v. 9)x86_64Red Hat Enterprise Linux AppStream EUS (v.9.6)Red Hat Enterprise Linux BaseOS EUS (v.9.6)s390xRed Hat Enterprise Linux AppStream EUS (v. 10.0)Red Hat Enterprise Linux BaseOS EUS (v. 10.0)Red Hat Enterprise Linux AppStream E4S (v.9.2)Red Hat Enterprise Linux BaseOS E4S (v.9.2)Red Hat Enterprise Linux AppStream E4S (v.9.4)Red Hat Enterprise Linux BaseOS E4S (v.9.4)Red Hat Enterprise Linux BaseOS E4S (v.8.8)Red Hat Enterprise Linux BaseOS TUS (v.8.8)Red Hat Enterprise Linux BaseOS AUS (v.8.6)Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)1.8.81.11.01.12.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 20:22:47 UTC

Technical Analysis

CVE-2026-41989 is a vulnerability in libgcrypt where the gcry_pk_decrypt function improperly calculates buffer sizes when processing crafted ECDH ciphertext, leading to a heap-based buffer overflow. This can cause a denial of service condition by crashing the application. The vulnerability is identified as CWE-131 (Incorrect Calculation of Buffer Size) and CWE-787 (Out-of-bounds Write). Red Hat has analyzed this issue affecting their Hardened Images and Enterprise Linux 9 and 10 variants but currently does not provide an official patch or mitigation that meets their criteria for ease of use, applicability, or stability.

Potential Impact

The vulnerability allows remote attackers to cause a denial of service by sending specially crafted ECDH ciphertext to the vulnerable function. This results in a heap-based buffer overflow that crashes the application or service using libgcrypt. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild. The severity is rated medium by Red Hat.

Mitigation Recommendations

Red Hat currently does not offer an official fix or mitigation that meets their deployment and stability criteria. Users are advised to monitor Red Hat advisories for updates. No workaround or mitigation is currently available. Customers with Red Hat Technical Account Managers (TAM) can seek direct guidance. Upgrading to a future fixed version when available is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:8466
Cve Count
2
Additional Cves
["CVE-2026-41990"]
State
PUBLISHED

Threat ID: 6a4049ce27e9c7971982a87e

Added to database: 06/27/2026, 22:08:14 UTC

Last enriched: 08/11/2026, 20:22:47 UTC

Last updated: 09/14/2026, 10:01:30 UTC

Views: 34

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses