CVE-2026-41989: CWE-787 Out-of-bounds Write in gnupg Libgcrypt
Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.
AI Analysis
Technical Summary
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.
CVE-2026-41989: CWE-787 Out-of-bounds Write in gnupg 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
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.