CVE-2026-41989
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLibgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceLibgcrypt before version 1.12.2 contains a heap-based buffer overflow vulnerability in the ECDH decryption path (gcry_pk_decrypt function). An attacker can trigger the overflow by providing specially crafted ECDH ciphertext, potentially causing denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 1.8.8, < 1.10.4>= 1.11.0, < 1.11.3>= 1.12.0, < 1.12.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- High
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed libgcrypt versionRun 'gpg --version' or check the library directly with 'dpkg -l libgcrypt20' (Debian/Ubuntu), 'rpm -q libgcrypt' (RHEL/CentOS), or 'pkg_info | grep libgcrypt' (FreeBSD). On systems with the library file, run 'strings /usr/lib/libgcrypt.so.* | grep '^1\.' | head -5' or use 'ldd' on a linked binary and then inspect the library.Affected if The installed version is 1.8.8 through 1.10.3, 1.11.0 through 1.11.2, or 1.12.0 through 1.12.1.
-
Locate all libgcrypt library files on the systemSearch for libgcrypt files using 'find /usr -name "libgcrypt*" -type f 2>/dev/null' and note the version strings embedded in each binary using 'strings <path> | grep -E "^1\.[0-9]+"' or check with 'file <path>'.Affected if Any libgcrypt library file found is within the affected version ranges.
-
Identify applications using libgcrypt for ECDHAudit deployed applications and configurations for use of ECDH key exchange. Review application logs, configuration files, and code for references to 'ECDH', 'gcry_pk_decrypt', or the algorithm OID 1.3.101.112. On GPG systems, check 'gpg --list-packets' on stored keys or verify cipher preferences in '~/.gnupg/gpg.conf' and '/etc/gnupg/gpg.conf'.Affected if Any application or service processes ECDH-encrypted data using the vulnerable libgcrypt library.
-
Determine if ECDH decryption is exposed to untrusted inputReview whether applications using libgcrypt accept ECDH ciphertext from external sources, network peers, or unauthenticated users. Check for services that decrypt imported keys, process encrypted files from untrusted sources, or handle S/MIME/PGP messages containing ECDH key exchange.Affected if Untrusted or attacker-controlled ECDH ciphertext can be processed by a linked application.
A system is affected if it runs any version of libgcrypt within the ranges 1.8.8 to 1.10.3, 1.11.0 to 1.11.2, or 1.12.0 to 1.12.1 AND processes ECDH ciphertext from external sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.10.41.11.31.12.2
Upgrade libgcrypt to version 1.12.2 or later. Identify all applications and systems using libgcrypt for ECDH operations and ensure the library is updated across the entire environment.
Libgcrypt 1.12.2 or later
- 1. Identify the current version of libgcrypt installed on the system using 'gcry-control --version' or checking the package manager.
- 2. Stop any applications or services that depend on libgcrypt to ensure a clean upgrade process.
- 3. Update libgcrypt to version 1.12.2 or later using the appropriate package manager or compile from source.
- 4. For package manager updates: run 'apt-get update && apt-get install libgcrypt20' (Debian/Ubuntu) or 'yum update libgcrypt' (RHEL/CentOS) or the equivalent for your distribution.
- 5. Verify the new version is installed by running 'gcry-control --version' or checking the package manager again.
- 6. Restart any services that depend on libgcrypt to ensure they use the patched library.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,144.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41989 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41989 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data