Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2016-7798

26
FAUCET Score

CVE-2016-7798 describes a critical vulnerability in the Ruby openssl gem, specifically affecting its GCM Mode (aes-*-gcm) implementation when the initialization vector (IV) is set before the key. This flaw allows context-dependent attackers to bypass encryption protections, impacting Debian Linux and Ruby applications utilizing the affected openssl gem. With a CVSS score of 7.5 (HIGH), this vulnerability is easily exploitable over the network with low attack complexity, potentially leading to a complete compromise of confidentiality. While there is no evidence of active exploitation, nor publicly available exploit code or significant community discussion, the high severity warrants attention.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.0.0CPE matchmatch criteria
cpe:2.3:a:ruby-lang:openssl:*:*:*:*:*:ruby:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.5HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
3.9
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
3.17%
Probability of exploitation in next 30 days
EPSS Percentile
86.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
This CVE's current EPSS score of 0.0317 is in the 76th percentile among its peer group of 51,455 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (14)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: 16878-16820Fixed in: -
microsoftpatch availablevia msrc
Product: cm1 openssl 1.1.1k-5 on CBL Mariner 1.0Fixed in: -
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 ARMFixed in: 1.1.1k-5
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 x64Fixed in: 1.1.1k-5
rubygemspatch availablevia ghsa
Product: opensslFixed in: 2.0.0
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby22-ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby23-ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: ruby200-ruby
redhatend of lifevia redhat_api
Product: CloudForms Management Engine 5Fixed in: ruby-200-ruby
redhatend of lifevia redhat_api
Product: CloudForms Management Engine 5Fixed in: rh-ruby22-ruby

Vendor Advisories (4)

microsoft2020-Sep/CVE-2016-7798

CVE-2016-7798

Sep 8, 2020
rubygemsGHSA-6h88-qjpv-p32mhigh

OpenSSL gem for Ruby using inadequate encryption strength

Oct 24, 2017
microsoft2017-Jan/CVE-2016-7798Important

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.

Jan 10, 2017
redhatCVE-2016-7798Moderate

ruby: IV Reuse in GCM Mode

Sep 19, 2016

References

github.com / ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
PatchThird Party Advisory
github.com / ruby/openssl/issues/49
ExploitThird Party Advisory
lists.debian.org / debian-lts-announce/2018/07/msg00012.html
Mailing ListThird Party Advisory
debian.org / security/2017/dsa-3966
Third Party Advisory
openwall.com / lists/oss-security/2016/09/19/9
Mailing ListThird Party Advisory
openwall.com / lists/oss-security/2016/09/30/6
Mailing ListPatchThird Party Advisory
openwall.com / lists/oss-security/2016/10/01/2
Mailing ListThird Party Advisory
securityfocus.com / bid/93031
Third Party AdvisoryVDB Entry