Home › CVE › Vulnerabilities
CVE-2017-16516
Research article
Headline: yajl-ruby Denial of Service Vulnerability in Debian 7.0 (NVD classifies it as CWE-134 Use of Externally-Controlled Format String)
| CVE | CVE-2017-16516 |
|---|---|
| Published | December 02, 2026 15:05 UTC |
| Research cut-off | December 02, 2026 14:50 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (lists.debian.org); 1 vendor bulletin |
Executive summary
CVE-2017-16516 is listed by NVD as affecting yajl-ruby version 1.3.0 and Debian Linux 7.0 [1], and enables an attacker to cause a denial of service through a specially crafted JSON input [1][3]. The CVSS 3.1 base score is 7.5, HIGH, assigned by NVD [1]. The reviewed sources do not mention any exploitation [2]. For Debian 7, the Debian LTS advisory recommends upgrading ruby-yajl packages to version 1.1.0-2+deb7u1 [3].
Key points
- CVE-2017-16516 affects yajl-ruby version 1.3.0 and Debian Linux 7.0 [1].
- The CVSS 3.1 base score is 7.5, HIGH, scored by NVD [1].
- Exploitation is not reported in the reviewed sources [2].
- A fixed version for Debian 7.0 is available [3].
- The vulnerability allows an attacker to trigger a denial of service via a crafted JSON input [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2017-16516 | NVD | yajl-ruby | CWE-134 | 7.5 HIGH, scored by nvd@nist.gov | 2017-11-03 | 2026-06-17 | Modified |
Vulnerability description
A flaw in the yajl-ruby library allows an attacker to trigger a denial of service by sending a specially crafted JSON input to the Yajl::Parser.new.parse method. NVD classifies this issue under CWE-134 (Use of Externally-Controlled Format String) [1], while the Debian and Ubuntu advisories describe improper bounds checking when decoding strings with escape sequences [3][4].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability is accessible over the network (AV:N), requires no privileges (PR:N), and no user interaction (UI:N). The attacker must supply a specially crafted JSON input to the Yajl::Parser.new.parse method [3].
Impact analysis
The CVSS vector shows no impact on confidentiality (C:N) or integrity (I:N), but a high impact on availability (A:H). The vulnerability can lead to a denial of service [3][4].
Affected products and versions
| Affected Product | Fixed Version |
|---|---|
| yajl-ruby 1.3.0 | not listed |
| Debian Linux 7.0 | 1.1.0-2+deb7u1 |
Exploitation and threat intelligence status
CVE-2017-16516 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-02 [2]. The reviewed sources do not report exploitation.
Detection and exposure assessment
NVD's configuration lists yajl-ruby version 1.3.0 and Debian linux 7.0 as affected [1]. Detection steps are not provided by the sources.
Remediation
The Debian LTS advisory recommends upgrading ruby-yajl packages to version 1.1.0-2+deb7u1 to resolve the issue [3].
Remediation checklist
- Upgrade ruby-yajl packages to version 1.1.0-2+deb7u1 to resolve the issue [3].
- As general guidance, administrators may review system logs for signs of crashes; the sources do not describe specific detection steps.
- As general guidance, Debian 7 systems with ruby-yajl should be updated to version 1.1.0-2+deb7u1 [3].
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not provide a complete version range for affected products.
- The sources do not describe the attack lifecycle or specific exploitation scenarios.
- The sources do not give indicators of compromise.
References
- CVE-2017-16516 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2017-16516. Accessed 2026-12-02.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-02. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-02.
- Third party advisory page (lists.debian.org). lists.debian.org. https://lists.debian.org/debian-lts-announce/2017/11/msg00010.html. Accessed 2026-12-02.
- USN-9397-1: yajl-ruby vulnerabilities. Ubuntu USN, 2026-12-02. https://ubuntu.com/security/notices/USN-9397-1. Accessed 2026-12-02.
Summary
It was discovered that YAJL, vendored in yajl-ruby, was not properly performing bounds checks when decoding a string with escape sequences. If a user or automated system using yajl-ruby were tricked into processing specially crafted input, an attacker could possibly use this issue to cause a denial of service (application abort). (CVE-2017-16516) It was discovered that YAJL, vendored in yajl-ruby…
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-134: Use of Externally-Controlled Format String
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| yajl-ruby project yajl-ruby | 1.3.0 | — |
| debian linux | 7.0 | — |
Public exploits
Exploit available
References by type
Other references
Frequently asked questions
What is CVE-2017-16516?
CVE-2017-16516 is listed by NVD as affecting yajl-ruby version 1.3.0 and Debian Linux 7.0, and enables an attacker to cause a denial of service through a specially crafted JSON input. The CVSS 3.1 base score is 7.5, HIGH, assigned by NVD. The reviewed sources do not mention any exploitation. For Debian 7, the Debian LTS advisory recommends upgrading ruby-yajl packages to version 1.1.0-2+deb7u1. Weakness type: Use of Externally-Controlled Format String (CWE-134).
How severe is CVE-2017-16516?
CVE-2017-16516 has a CVSS 3.1 base score of 7.5 (high), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2017-16516 being exploited?
Not as far as is known: CVE-2017-16516 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 3.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2017-16516?
yajl-ruby project yajl-ruby 1.3.0; debian linux 7.0.
How do I fix CVE-2017-16516?
Upgrade ruby-yajl packages to version 1.1.0-2+deb7u1 to resolve the issue. As general guidance, administrators may review system logs for signs of crashes; the sources do not describe specific detection steps. As general guidance, Debian 7 systems with ruby-yajl should be updated to version 1.1.0-2+deb7u1.