USN-9397-1: yajl-ruby vulnerabilities

Published Dec 2, 2026
·
Updated

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, was not properly handling memory allocation when dealing with large inputs, which could lead to heap memory corruption. If a user or automated system using yajl-ruby were tricked into running a specially crafted large input, an attacker could possibly use this issue to cause a denial of service. (CVE-2022-24795)

Affected Software

2 affected componentsFixes available
All of the following
ubuntu/ruby-yajl<1.2.0-3ubuntu0.1~esm1
1.2.0-3ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-yajl to a version that resolves this vulnerability.

    Fixed in 1.2.0-3ubuntu0.1~esm1

Event History

Dec 2, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to these issues?

Applications or automated systems that use yajl-ruby and process attacker-controlled input are exposed. The vulnerable YAJL library is vendored within yajl-ruby.

2

What must an attacker do to trigger the vulnerabilities?

An attacker must cause the application or automated system to process specially crafted input. For CVE-2017-16516, the input includes strings with escape sequences; for CVE-2022-24795, it is a specially crafted large input.

3

What is the expected impact of successful exploitation?

Both issues can cause denial of service. The escape-sequence bounds-checking issue can abort the application, while the large-input allocation issue can lead to heap memory corruption and denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203