CVE-2018-6829 Weak cryptography in n/a

High 7.5 Published Updated

Attackers can obtain sensitive information from ciphertext due to improper ElGamal encoding in Libgcrypt, violating semantic security assumptions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-6829?

CVE-2018-6829 is a high-severity vulnerability in n/a, published on 7 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for Libgcrypt's ElGamal implementation.

Weakness: CWE-327

Which versions are affected by CVE-2018-6829?

It affects 1 product.

Products include Gnupg Libgcrypt.

How do I fix CVE-2018-6829?

Upgrade to a fixed version.

Is CVE-2018-6829 being exploited?

There is no known exploitation of CVE-2018-6829 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-6829, GHSA-wcf7-2f92-j5mv, ROOT-OS-DEBIAN-12-CVE-2018-6829.

Is CVE-2018-6829 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free