Bug 2508635 - CVE-2026-67216 cjson: Denial of Service due to inefficient JSON object comparison [epel-all]
Summary: CVE-2026-67216 cjson: Denial of Service due to inefficient JSON object compar...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: cjson
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["14c8b02e-d86f-4e54-8a77-5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 20:04 UTC by Joel Chamberlain
Modified: 2026-07-29 20:04 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Chamberlain 2026-07-29 20:04:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.