Advisory

UBUNTU-CVE-2026-67216

Also known as: CVE-2026-67216

Summary

The record has no summary.

Details

cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-29 14:16 UTC
Modified
2026-10-17 12:56 UTC

Affected packages and fixes

13 affected packages; affected: introduced 0
PackageSystemFix
mapcacheDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
cjsonDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
iperf3Debian packages (deb) · Ubuntu 26.10No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
sail-ocamlDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
cjsonDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
iperf3Debian packages (deb) · Ubuntu 26.04No fixed version is listed.
mapcacheDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
sail-ocamlDebian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences