{"cve":"CVE-2016-7798","nvd":{"published":"2017-01-30T22:59:00.747","modified":"2026-06-17T00:53:31.003","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-326"],"references":["http://www.openwall.com/lists/oss-security/2016/09/19/9","http://www.openwall.com/lists/oss-security/2016/09/30/6","http://www.openwall.com/lists/oss-security/2016/10/01/2","http://www.securityfocus.com/bid/93031","https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062"],"products":["debian:debian_linux","ruby-lang:openssl"],"source":"nvd","synced_at":"2026-10-19T20:41:25.729257544+00:00"},"epss":{"cve":"CVE-2016-7798","score":0.03167,"percentile":0.88011,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6h88-qjpv-p32m","url":"https://osv.dev/vulnerability/GHSA-6h88-qjpv-p32m","summary":"OpenSSL gem for Ruby using inadequate encryption strength","modified":"2024-02-16T08:20:58.750802Z","packages":[{"ecosystem":"RubyGems","name":"openssl","purl":"pkg:gem/openssl","ranges":["<2.0.0"],"fixed":["2.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}