Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-7798

ruby: IV Reuse in GCM Mode

Overview

Published
30 Jan 2017
Modified
17 Jun 2026
High CVE
1 Registry packages
73 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Weakness: CWE-326

Affected packages · 1

Packages affected by CVE-2016-7798
EcosystemPackageVulnerableFixed in
RubyGems openssl <2.0.0 2.0.0

Open a package to see all its vulnerabilities.

Operating systems · 13 fixes

Red Hat 1 release · 1 package

wont fix 1
rh-ruby22-ruby
Red Hat fixes for CVE-2016-7798
ReleasePackageFixed in
7 rh-ruby22-ruby +65 wont fix

SUSE Linux Enterprise 1 release · 1 package

fixed 1
libruby2-1-2-1
SUSE Linux Enterprise fixes for CVE-2016-7798
ReleasePackageFixed inAdvisory
12.5 libruby2-1-2-1 +3 2.1.9-19.3.2 SUSE-SU-2020:1570-1

debian 5 releases · 3 packages

fixed 9
ruby-encryptor ruby-attr-encrypted ruby2-3
debian fixes for CVE-2016-7798
ReleasePackageFixed in
11 ruby-encryptor 3.0.0-1
11 ruby-attr-encrypted 3.0.1-2
12 ruby-encryptor 3.0.0-1
12 ruby-attr-encrypted 3.0.1-2
13 ruby-encryptor 3.0.0-1
13 ruby-attr-encrypted 3.0.1-2

3 more rows

echo 1 release · 2 packages

fixed 2
ruby-encryptor ruby-attr-encrypted
echo fixes for CVE-2016-7798
ReleasePackageFixed in
ruby-encryptor 3.0.0-1
ruby-attr-encrypted 3.0.1-2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.