CVE-2017-16516
HIGH 7.5CVSS 3.1yajl-ruby gem Denial of Service vulnerability
In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the yajl_string_decode function in yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.
- Published
- 3 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-134
- Also known as
- GHSA-wwh7-4jw9-33x6
- Sources
- NVDJSONOSV GHSA-wwh7-4jw9-33x6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yajl-ruby_project | yajl-rubycpe:2.3:a:yajl-ruby_project:yajl-ruby:1.3.0:*:*:*:*:ruby:*:* |
= 1.3.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | RubyGems | yajl-ruby | < 1.3.1 | 1.3.1 |
References
- https://github.com/brianmario/yajl-ruby/issues/176 · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2017/11/msg00010.html · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html · WEB
- https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html · WEB
- https://rubygems.org/gems/yajl-ruby · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-16516 · ADVISORY
- https://github.com/brianmario/yajl-ruby/pull/178 · WEB
- https://github.com/github/advisory-database/pull/2158 · WEB
- https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce · WEB
- https://github.com/brianmario/yajl-ruby · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yajl-ruby/CVE-2017-16516.yml · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 3 Nov 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Nov 2017)