Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS : ruby-oj vulnerabilities (USN-9518-1)

medium Nessus Plugin ID 394244

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9518-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected ruby-oj package.

See Also

https://ubuntu.com/security/CVE-2026-54500

https://ubuntu.com/security/CVE-2026-54502

https://ubuntu.com/security/CVE-2026-54592

https://ubuntu.com/security/CVE-2026-54896

https://ubuntu.com/security/CVE-2026-54897

https://ubuntu.com/security/CVE-2026-54898

https://ubuntu.com/security/CVE-2026-54899

https://ubuntu.com/security/CVE-2026-54900

https://ubuntu.com/security/CVE-2026-54901

https://ubuntu.com/security/CVE-2026-54902

https://ubuntu.com/security/CVE-2026-54903

https://ubuntu.com/security/notices/USN-9518-1

Plugin Details

Severity: Medium

ID: 394244

File Name: ubuntu_USN-9518-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/5/2026

Updated: 12/5/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.92

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-54500

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-54903

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:ruby-oj

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: 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

USN: 9518-1