{"id":"JLSEC-2026-2336","details":"The ElGamal implementation in Crypto++ through 8.5 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.","modified":"2026-12-03T16:45:06.378971927Z","published":"2026-12-03T16:31:40.608Z","upstream":["CVE-2021-40530"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2021-40530","imported":"2026-12-03T14:14:32.687Z","modified":"2026-06-17T04:07:05.967Z","published":"2021-09-06T19:15:07.673Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-40530","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40530","database_specific":{"status":"Modified"},"affected":{"cryptopp:crypto\\+\\+":["\u003c= 8.5"]}}]},"references":[{"type":"WEB","url":"https://eprint.iacr.org/2021/923"},{"type":"WEB","url":"https://eprint.iacr.org/2021/923"},{"type":"WEB","url":"https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1"},{"type":"WEB","url":"https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1"},{"type":"WEB","url":"https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2"},{"type":"WEB","url":"https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/"}],"affected":[{"package":{"name":"cryptopp_jll","ecosystem":"Julia","purl":"pkg:julia/cryptopp_jll?uuid=9ced465f-3d53-56cd-9803-9d1649b5e965"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2336.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V2","score":"AV:N/AC:H/Au:N/C:P/I:N/A:N","source":"NVD"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD"}]}