Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2017-16516

High · CVSS 7.5EPSS 3.8% First seen December 02, 2026
Vulnerabilities

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)

CVECVE-2017-16516
PublishedDecember 02, 2026 15:05 UTC
Research cut-offDecember 02, 2026 14:50 UTC
Sources reviewed4: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2017-16516NVDyajl-rubyCWE-1347.5 HIGH, scored by nvd@nist.gov2017-11-032026-06-17Modified

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 ProductFixed Version
yajl-ruby 1.3.0not listed
Debian Linux 7.01.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

  1. Upgrade ruby-yajl packages to version 1.1.0-2+deb7u1 to resolve the issue [3].
  2. As general guidance, administrators may review system logs for signs of crashes; the sources do not describe specific detection steps.
  3. 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

  1. 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. CVE ID, CVSS score, CWE, affected products, and vulnerability description
  2. 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. Exploitation status and CISA KEV listing
  3. 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. Fixed version for Debian 7.0, vulnerability description, and remediation
  4. USN-9397-1: yajl-ruby vulnerabilities. Ubuntu USN, 2026-12-02. https://ubuntu.com/security/notices/USN-9397-1. Accessed 2026-12-02. Vulnerability context and impact analysis

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

High · 7.5 CVSS 3.1 base score from NVD

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-134: Use of Externally-Controlled Format String

Affected and fixed versions

ProductAffected versionsFixed in
yajl-ruby project yajl-ruby1.3.0—
debian linux7.0—

From NVD's CPE data; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Other references

Details from NVD (public domain).

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.

Timeline & sources

References