An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and…
Priority MEDIUM 46Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 27 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.
Why it matters now
EPSS 0.07968 94th percentileScored 2026-11-07
Fix Partial Red Hat: 6 advisoriesRed Hat: 27 fixed, 4 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 2.3.0 – 2.3.7; 2.4.0 – 2.4.4; 2.5.0 – 2.5.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* | 2.6.0 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:* | 2.6.0 preview2 | Vulnerable | ruby |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* | 18.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions 2.3.0 – 2.3.7; 2.4.0 – 2.4.4; 2.5.0 – 2.5.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* Versions 2.6.0 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:* Versions 2.6.0 preview2 Vulnerable ·ruby
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
Remediation
Red Hat 6 advisories
- RHSA-2020:2839 Released 2020-07-07 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ruby-2.0.0.648-38.el7_6, ruby-irb-2.0.0.648-38.el7_6, ruby-libs-2.0.0.648-38.el7_6 +6
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) ruby-devel-2.0.0.648-38.el7_6, ruby-doc-2.0.0.648-38.el7_6, ruby-tcltk-2.0.0.648-38.el7_6 +3
- Red Hat Enterprise Linux Server EUS (v. 7.6) ruby-2.0.0.648-38.el7_6, ruby-irb-2.0.0.648-38.el7_6, ruby-libs-2.0.0.648-38.el7_6 +7
- Red Hat Enterprise Linux Server Optional EUS (v. 7.6) ruby-devel-2.0.0.648-38.el7_6, ruby-doc-2.0.0.648-38.el7_6, ruby-tcltk-2.0.0.648-38.el7_6 +3
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby-2.0.0.648-38.el7_6, ruby-irb-2.0.0.648-38.el7_6, ruby-libs-2.0.0.648-38.el7_6 +6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ruby-devel-2.0.0.648-38.el7_6, ruby-doc-2.0.0.648-38.el7_6, ruby-tcltk-2.0.0.648-38.el7_6 +3
- RHSA-2020:2769 Released 2020-06-30 · Red Hat rating Importantruby security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- Red Hat Enterprise Linux Server E4S (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server TUS (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- RHSA-2019:2028 Released 2019-08-06 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux Client (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux Client Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux ComputeNode (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux Server (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +7
- Red Hat Enterprise Linux Server Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux Workstation (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux Workstation Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
Show 3 more Red Hat advisories
- RHSA-2018:3731 Released 2018-11-29 · Red Hat rating Importantrh-ruby25-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- RHSA-2018:3730 Released 2018-11-29 · Red Hat rating Importantrh-ruby24-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- RHSA-2018:3729 Released 2018-11-29 · Red Hat rating Importantrh-ruby23-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Virtualization 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2020:2839 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) | Fixed | RHSA-2020:2839 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:2839 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.6) | Fixed | RHSA-2020:2839 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2020:2839 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2020:2839 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:3729, RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:3729, RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16396
- 2026-10-03 Alias added: GHSA-xh4x-ph6p-vmxh
References
Advisory 11
- https://hackerone.com/reports/385070
- RHSA-2018:3729
- RHSA-2018:3730
- RHSA-2018:3731
- DSA-4332
- USN-3808-1
- https://security.netapp.com/advisory/ntap-20190221-0002/
- https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/
- [debian-lts-announce] 20181028 [SECURITY] [DLA 1558-1] ruby2.1 security update
- openSUSE-SU-2019:1771
- RHSA-2019:2028
Sources
- CVE-2018-16396 · CVE Program
- CVE-2018-16396 · NVD
- FIRST EPSS
- GHSA-xh4x-ph6p-vmxh · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16396 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences