Home / mailingsPDF  

[USN-9518-1] Oj vulnerabilities

Posted on 04 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9518-1
December 03, 2026

ruby-oj vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS

Summary:

Several security issues were fixed in Oj.

Software Description:
- ruby-oj: fast JSON parser and serializer for Ruby

Details:

It was discovered that Oj incorrectly handled parsing JSON objects with
very long keys in object mode. An attacker could possibly use this issue to
obtain sensitive information. This issue only affected Ubuntu 22.04 LTS,
Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-54500)

It was discovered that Oj incorrectly handled large indent values when
dumping data. An attacker could possibly use this issue to cause Oj to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2026-54502)

It was discovered that Oj incorrectly handled deeply nested JSON documents
when iterating over them recursively. An attacker could possibly use this
issue to cause Oj to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2026-54592)

It was discovered that Oj incorrectly handled large indent values when
serializing exception objects. An attacker could possibly use this issue to
cause Oj to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2026-54896)

It was discovered that Oj incorrectly handled closing a document while
iterating over it. An attacker could possibly use this issue to cause Oj to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2026-54897)

It was discovered that Oj incorrectly handled input strings modified by
parser callbacks. An attacker could possibly use this issue to cause Oj to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-54898)

It was discovered that Oj incorrectly handled changing parser options on a
reused parser. An attacker could possibly use this issue to cause Oj to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-54899)

It was discovered that Oj incorrectly handled certain very long JSON object
keys. An attacker could possibly use this issue to cause Oj to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04
LTS. (CVE-2026-54900)

It was discovered that Oj incorrectly managed memory for certain parser
classes. An attacker could possibly use this issue to cause Oj to crash,
resulting in a denial of service. This issue only affected Ubuntu 22.04
LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-54901)

It was discovered that Oj incorrectly managed memory for cached object
keys. An attacker could possibly use this issue to cause Oj to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04
LTS. (CVE-2026-54902)

It was discovered that Oj incorrectly handled parsing very large JSON
strings. An attacker could possibly use this issue to cause Oj to crash,
resulting in a denial of service. (CVE-2026-54903)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 26.04 LTS
ruby-oj 3.16.15-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 24.04 LTS
ruby-oj 3.16.3-1+deb13u1build0.24.04.1

Ubuntu 22.04 LTS
ruby-oj 3.13.9-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 20.04 LTS
ruby-oj 3.10.1-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
ruby-oj 3.4.0-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
ruby-oj 2.12.10-4ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 14.04 LTS
ruby-oj 2.5.3-1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9518-1
CVE-2026-54500, CVE-2026-54502, CVE-2026-54592, CVE-2026-54896,
CVE-2026-54897, CVE-2026-54898, CVE-2026-54899, CVE-2026-54900,
CVE-2026-54901, CVE-2026-54902, CVE-2026-54903

Package Information:
https://launchpad.net/ubuntu/+source/ruby-oj/3.16.3-1+deb13u1build0.24.04.1

--===============8526602603577655150==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP