{"id":"DEBIAN-CVE-2018-6829","details":"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.","modified":"2026-09-01T20:04:00.644030436Z","published":"2018-02-07T23:29:01.703Z","upstream":["CVE-2018-6829"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-6829"}],"affected":[{"package":{"name":"gnupg1","ecosystem":"Debian:12","purl":"pkg:deb/debian/gnupg1?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.23-1.1","1.4.23-2","1.4.23-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}},{"package":{"name":"gnupg1","ecosystem":"Debian:13","purl":"pkg:deb/debian/gnupg1?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.23-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}},{"package":{"name":"gnupg1","ecosystem":"Debian:14","purl":"pkg:deb/debian/gnupg1?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.23-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}},{"package":{"name":"libgcrypt20","ecosystem":"Debian:12","purl":"pkg:deb/debian/libgcrypt20?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.1-3","1.10.1-3+deb12u1","1.10.2-1","1.10.2-2","1.10.2-2+loong64","1.10.2-3","1.10.3-1","1.10.3-2","1.10.3-3","1.11.0+git20250114-1","1.11.0-1","1.11.0-2","1.11.0-3","1.11.0-4","1.11.0-5","1.11.0-6","1.11.0-7","1.11.0~beta450-1","1.11.1-1","1.11.2-1","1.11.2-2","1.11.2-3","1.12.0-1","1.12.0-2","1.12.1-1","1.12.1-2","1.12.2-1","1.12.3-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}},{"package":{"name":"libgcrypt20","ecosystem":"Debian:13","purl":"pkg:deb/debian/libgcrypt20?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+git20250114-1","1.11.0-7","1.11.0-7+deb13u1","1.11.1-1","1.11.2-1","1.11.2-2","1.11.2-3","1.12.0-1","1.12.0-2","1.12.1-1","1.12.1-2","1.12.2-1","1.12.3-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}},{"package":{"name":"libgcrypt20","ecosystem":"Debian:14","purl":"pkg:deb/debian/libgcrypt20?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+git20250114-1","1.11.0-7","1.11.1-1","1.11.2-1","1.11.2-2","1.11.2-3","1.12.0-1","1.12.0-2","1.12.1-1","1.12.1-2","1.12.2-1","1.12.3-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6829.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}