{"schemaVersion":3,"id":"CVE-2017-16516","aliases":["UBUNTU-CVE-2017-16516","DEBIAN-CVE-2017-16516","DLA-1167-1","GHSA-wwh7-4jw9-33x6"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2017-11-03T00:00:00.000Z","modified":"2024-08-05T20:27:04.174Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.03798,"percentile":0.89883,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03798},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03798,"percentile":0.89883}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03798,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03798,"percentile":0.89883}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_BRIANMARIO_YAJL-RUBY","name":"Yajl Ruby","source":"github","url":"https://github.com/brianmario/yajl-ruby/issues/176","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String","description":"The product uses a function that accepts a format string as an argument, but the format string originates from an external source.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/134.html"}],"affected":[{"vendor":"debian","product":"burp","name":"burp","label":"burp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/burp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.1.4-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.1.4-2","eol":null,"hubHref":null},{"vendor":"debian","product":"r-cran-jsonlite","name":"r-cran-jsonlite","label":"r-cran-jsonlite","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/r-cran-jsonlite","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.8.8+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.8.8+dfsg-1","eol":null,"hubHref":null},{"vendor":"debian","product":"ruby-yajl","name":"ruby-yajl","label":"ruby-yajl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-yajl","purlType":"deb","versions":[{"text":"< 1.2.0-3.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.0-2+deb7u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.0-3.1 | < 1.1.0-2+deb7u1","eol":null,"hubHref":null},{"vendor":"debian","product":"yajl","name":"yajl","label":"yajl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/yajl","purlType":"deb","versions":[{"text":"< 2.1.0-3+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0-3+deb12u2 | < 2.1.0-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-yajl","name":"ruby-yajl","label":"ruby-yajl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-yajl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"yajl","name":"yajl","label":"yajl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/yajl","purlType":"deb","versions":[{"text":"< 2.0.4-4ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-2ubuntu0.16.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-2ubuntu0.18.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.4-4ubuntu0.1~esm1 | < 2.1.0-2ubuntu0.16.04.1~esm1 | < 2.1.0-2ubuntu0.18.04.1~esm1 | < 2.1.0-3ubuntu0.20.04.1 | < 2.1.0-3ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"RubyGems","product":"yajl-ruby","name":"yajl-ruby","label":"yajl-ruby","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/yajl-ruby","purlType":"gem","versions":[{"text":"< 1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1","eol":null,"hubHref":null},{"vendor":"yajl-ruby_project","product":"yajl-ruby","name":"yajl-ruby","label":"yajl-ruby","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.3.0","eol":null,"hubHref":"/vendor/yajl-ruby_project/yajl-ruby"}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://rubygems.org/gems/yajl-ruby","label":"rubygems.org/gems/yajl-ruby","hostname":"rubygems.org","tags":["Third Party Advisory","REPORT","WEB"]},{"url":"https://github.com/brianmario/yajl-ruby/issues/176","label":"github.com/brianmario/yajl-ruby/issues/176","hostname":"github.com","tags":["Exploit","Third Party Advisory","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/11/msg00010.html","label":"lists.debian.org/debian-lts-announce/2017/11/msg00010.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html","label":"lists.debian.org/debian-lts-announce/2023/07/msg00013.html","hostname":"lists.debian.org","tags":["Mailing List","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html","label":"lists.debian.org/debian-lts-announce/2023/08/msg00003.html","hostname":"lists.debian.org","tags":["Mailing List","WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-16516","label":"ubuntu.com/security/CVE-2017-16516","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6233-1","label":"ubuntu.com/security/notices/USN-6233-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6233-2","label":"ubuntu.com/security/notices/USN-6233-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16516","label":"www.cve.org/CVERecord?id=CVE-2017-16516","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16516","label":"security-tracker.debian.org/tracker/CVE-2017-16516","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16516","label":"nvd.nist.gov/vuln/detail/CVE-2017-16516","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/brianmario/yajl-ruby/pull/178","label":"github.com/brianmario/yajl-ruby/pull/178","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/github/advisory-database/pull/2158","label":"github.com/github/advisory-database/pull/2158","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce","label":"github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/brianmario/yajl-ruby","label":"github.com/brianmario/yajl-ruby","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yajl-ruby/CVE-2017-16516.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/yajl-ruby/CVE-2017-16516.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-3492-1","DLA-3516-1","MGASA-2024-0066","USN-6233-1","USN-6233-2"],"duplicates":[],"related":["USN-6233-1","USN-6233-2"]},"timeline":[{"kind":"published","date":"2017-11-03T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T20:27:04.174Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:17:05.249Z","stale":false,"partial":false}}