{"id":"CVE-2016-7798","aliases":["GHSA-6h88-qjpv-p32m"],"url":"https://o3.security/vulnerability/CVE-2016-7798","summary":"OpenSSL gem for Ruby using inadequate encryption strength","details":"The openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key, which makes it easier for context-dependent attackers to bypass the encryption protection mechanism.","published":"2017-01-30T22:59:00.747Z","modified":"2026-07-08T12:27:51.786809Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"RubyGems","name":"openssl","fixedVersion":"2.0.0"}],"fix":{"url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062","label":"ruby/openssl@8108e0a"},"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/09/19/9"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/01/2"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93031"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2017/dsa-3966"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/09/30/6"},{"type":"FIX","url":"https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062"},{"type":"EVIDENCE","url":"https://github.com/ruby/openssl/issues/49"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:27:51.786809Z"}}