{"id":"CVE-2018-6594","state":"PUBLISHED","title":"lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain sensitive information by reading ciphertext data (","description":"lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, 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 PyCrypto's ElGamal implementation.","publishedAt":"2018-02-03T03:00:00.000Z","updatedAt":"2024-08-05T06:10:10.652Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/TElgamal/attack-on-pycrypto-elgamal","https://usn.ubuntu.com/3616-1/","https://github.com/dlitz/pycrypto/issues/253","https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html","https://usn.ubuntu.com/3616-2/","https://security.gentoo.org/glsa/202007-62"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6594.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6594","state":"PUBLISHED","datePublished":"2018-02-03T03:00:00.000Z","dateUpdated":"2024-08-05T06:10:10.652Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-02-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, 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 PyCrypto's ElGamal implementation."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/TElgamal/attack-on-pycrypto-elgamal","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3616-1/","name":"USN-3616-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/dlitz/pycrypto/issues/253","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html","name":"[debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3616-2/","name":"USN-3616-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.gentoo.org/glsa/202007-62","name":"GLSA-202007-62","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-07-31T18:06:05.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-02-02T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-6594","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, 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 PyCrypto's ElGamal implementation."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/TElgamal/attack-on-pycrypto-elgamal","refsource":"MISC","url":"https://github.com/TElgamal/attack-on-pycrypto-elgamal"},{"name":"USN-3616-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3616-1/"},{"name":"https://github.com/dlitz/pycrypto/issues/253","refsource":"MISC","url":"https://github.com/dlitz/pycrypto/issues/253"},{"name":"[debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html"},{"name":"USN-3616-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3616-2/"},{"name":"GLSA-202007-62","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202007-62"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/TElgamal/attack-on-pycrypto-elgamal","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3616-1/","name":"USN-3616-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://github.com/dlitz/pycrypto/issues/253","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html","name":"[debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/3616-2/","name":"USN-3616-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202007-62","name":"GLSA-202007-62","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:10:10.652Z"}}]}}}