CVE-2018-16396
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 7.96% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.4% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-11-16 18:00Z7 YR AGO
- Last updated
- 2024-08-05 10:24Z2 YR AGO
- Reserved
- 2018-09-03
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.1
- Document digest
- 0385a23ee95325ebf0c5416b6e3f562d1578dc06a3f651b3fc6106a3f738a1d6
05 Affected products
06 References
- hackerone.comhttps://hackerone.com/reports/385070
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/
- access.redhat.comRHSA-2018:3729https://access.redhat.com/errata/RHSA-2018:3729
- access.redhat.comRHSA-2018:3730https://access.redhat.com/errata/RHSA-2018:3730
- access.redhat.comRHSA-2018:3731https://access.redhat.com/errata/RHSA-2018:3731
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
- www.debian.orgDSA-4332https://www.debian.org/security/2018/dsa-4332
- usn.ubuntu.comUSN-3808-1https://usn.ubuntu.com/3808-1/
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190221-0002/
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/
- lists.debian.org[debian-lts-announce] 20181028 [SECURITY] [DLA 1558-1] ruby2.1 security updatehttps://lists.debian.org/debian-lts-announce/2018/10/msg00020.html
- www.securitytracker.com1042106http://www.securitytracker.com/id/1042106
- lists.opensuse.orgopenSUSE-SU-2019:1771http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- access.redhat.comRHSA-2019:2028https://access.redhat.com/errata/RHSA-2019:2028
07 Fixed in
Ubuntu 14.04 LTS
- ruby1.9.1 Fixed in 1.9.3.484-2ubuntu1.13
- ruby2.0 Fixed in 2.0.0.484-1ubuntu2.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ruby2.3 Fixed in 2.3.1-2~16.04.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ruby2.5 Fixed in 2.5.1-1ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.