High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-16516
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:04 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-16516
Complete source record
{
"id": "9e085dea774bcea189117e13f4c2b21d99ee8dced585aea90270ed2e28c76ae8",
"url": "https://osv.dev/vulnerability/CVE-2017-16516",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-16516",
"summary": "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.",
"evidence": "osv:CVE-2017-16516",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-16516",
"aliases": [
"CVE-2017-16516",
"GHSA-wwh7-4jw9-33x6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/brianmario/yajl-ruby",
"type": "GIT",
"events": [
{
"introduced": "35cf1c23efbf946785d3210b610783fedde51321"
},
{
"last_affected": "35cf1c23efbf946785d3210b610783fedde51321"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:yajl-ruby_project:yajl-ruby:1.3.0:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "1.3.0"
},
{
"last_affected": "1.3.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16516.json"
}
}
],
"modified": "2026-10-20T10:49:51.025973032Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2023/07/msg00013.html",
"https://lists.debian.org/debian-lts-announce/2023/08/msg00003.html",
"https://lists.debian.org/debian-lts-announce/2017/11/msg00010.html",
"https://rubygems.org/gems/yajl-ruby",
"https://github.com/brianmario/yajl-ruby/issues/176"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-16516",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380863,
"published_at": "2017-11-03T15:29:00.233+00:00"
}