CVE-2016-7798

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
3.167%
chance of exploitation in the next 30 days
higher than 88.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2017-01-30Published by the CNA22:00 UTC
  2. 2017-10-24GitHub advisory published (GHSA-6h88-qjpv-p32m)267 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-6h88-qjpv-p32m, affected packages:

EcosystemPackageVulnerable rangePatched
RubyGemsopenssl< 2.0.02.0.0

Affected products

VendorProduct
debiandebian_linux
ruby-langopenssl

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources