{"id":"CVE-2018-16396","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"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.…","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 formats.","ai_summary":null,"severity":"high","cvss":{"score":8.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":true,"remote_unauth":true,"epss":{"score":0.07968,"percentile":0.95523,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:3729","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2018:3730","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2018:3731","kind":"vendor"},{"url":"https://www.debian.org/security/2018/dsa-4332","kind":"vendor"},{"url":"https://usn.ubuntu.com/3808-1/","kind":"vendor"},{"url":"https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2019:2028","kind":"vendor"},{"url":"https://hackerone.com/reports/385070","kind":"other"},{"url":"https://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/","kind":"other"},{"url":"https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/","kind":"other"},{"url":"https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/","kind":"other"},{"url":"https://security.netapp.com/advisory/ntap-20190221-0002/","kind":"other"},{"url":"https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00020.html","kind":"other"},{"url":"http://www.securitytracker.com/id/1042106","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","redhat","ruby-lang"],"products":["debian_linux","enterprise_linux","ruby","ubuntu_linux"],"cpes":["cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*"],"published_at":"2018-11-16T18:00:00.000Z","modified_at":"2026-06-17T01:44:13.073Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16396"}],"links":{"html":"https://flawdb.com/CVE-2018-16396","markdown":"https://flawdb.com/CVE-2018-16396.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-16396"}}