{"id":"JLSEC-2026-124","aliases":["JLSEC-2026-124"],"related":["CVE-2021-40528"],"kind":"vulnerability","state":"published","title":"The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic librar…","summary":"The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.","format":"markdown","source":"jlsec"}],"published":"2026-04-17T13:07:52.234Z","modified":"2026-07-18T00:01:29.476Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N"},{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.0+0"}],"ecosystem":"Julia","package":"Libgcrypt_jll","purl":"pkg:julia/Libgcrypt_jll?uuid=d4300ac3-e22c-5743-9152-c294e39db1e4","source":"jlsec"}],"references":[{"url":"https://eprint.iacr.org/2021/923","tags":["web"],"sources":["jlsec"]},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320","tags":["web"],"sources":["jlsec"]},{"url":"https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1","tags":["web"],"sources":["jlsec"]},{"url":"https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2","tags":["web"],"sources":["jlsec"]},{"url":"https://security.gentoo.org/glsa/202210-13","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-124","url":"https://osv.dev/vulnerability/JLSEC-2026-124","licence":"CC-BY-4.0","modified":"2026-07-18T00:01:29.476Z"}],"updatedAt":"2026-11-25T22:56:25.912Z"}