UBUNTU-CVE-2026-67216 (CVE-2026-67216)

Vulnerability from osv_ubuntu – Published: 2026-07-29 14:16 – Updated: 2026-08-06 00:23 – Source website
VLAI
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.0.11-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.0.11-1ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.0.11-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.11-1",
        "3.0.11-1ubuntu0.1~esm1",
        "3.0.11-1ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.4.0-4"
          },
          {
            "binary_name": "libmapcache1",
            "binary_version": "1.4.0-4"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.4.0-4"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.4.0-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.4.0-4?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.4.0-3",
        "1.4.0-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.1.3-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.1.3-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.1.3-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.3-1",
        "3.1.3-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.6.1-1"
          },
          {
            "binary_name": "libmapcache1",
            "binary_version": "1.6.1-1"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.6.1-1"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.6.1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.6.1-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.0-2",
        "1.6.1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcjson1",
            "binary_version": "1.7.10-1.1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "cjson",
        "purl": "pkg:deb/ubuntu/cjson@1.7.10-1.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.10-1.1",
        "1.7.10-1.1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.7-3ubuntu0.1~esm2"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.7-3ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.7-3ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6-2",
        "3.7-1",
        "3.7-2",
        "3.7-3",
        "3.7-3ubuntu0.1~esm1",
        "3.7-3ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.10.0-1"
          },
          {
            "binary_name": "libmapcache1",
            "binary_version": "1.10.0-1"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.10.0-1"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.10.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.10.0-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.8.0-1",
        "1.8.0-1build2",
        "1.10.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.12.0-1"
          },
          {
            "binary_name": "libmapcache1",
            "binary_version": "1.12.0-1"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.12.0-1"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.12.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.12.0-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.10.0-2build1",
        "1.10.0-2build3",
        "1.12.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcjson1",
            "binary_version": "1.7.15-1ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "cjson",
        "purl": "pkg:deb/ubuntu/cjson@1.7.15-1ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.14-1",
        "1.7.15-1",
        "1.7.15-1ubuntu0.1~esm2",
        "1.7.15-1ubuntu0.1",
        "1.7.15-1ubuntu0.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.9-1+deb11u1ubuntu0.1"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.9-1+deb11u1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.9-1+deb11u1ubuntu0.1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.9-1",
        "3.9-1build1",
        "3.9-1+deb11u1build0.22.04.1",
        "3.9-1+deb11u1ubuntu0.1~esm1",
        "3.9-1+deb11u1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.14.0-4build2"
          },
          {
            "binary_name": "libmapcache1t64",
            "binary_version": "1.14.0-4build2"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.14.0-4build2"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.14.0-4build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.14.0-4build2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.14.0-2",
        "1.14.0-2build1",
        "1.14.0-2build2",
        "1.14.0-4build1",
        "1.14.0-4build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcjson1",
            "binary_version": "1.7.17-1ubuntu0.1~esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "cjson",
        "purl": "pkg:deb/ubuntu/cjson@1.7.17-1ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.16-1",
        "1.7.16-2",
        "1.7.17-1",
        "1.7.17-1ubuntu0.1~esm2",
        "1.7.17-1ubuntu0.1~esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.16-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.16-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.16-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.14-1",
        "3.15-1",
        "3.16-1",
        "3.16-1build1",
        "3.16-1build2",
        "3.16-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcjson1",
            "binary_version": "1.7.19-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "cjson",
        "purl": "pkg:deb/ubuntu/cjson@1.7.19-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.18-3.1",
        "1.7.18-4",
        "1.7.19-1",
        "1.7.19-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "iperf3",
            "binary_version": "3.20-2"
          },
          {
            "binary_name": "libiperf0",
            "binary_version": "3.20-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "iperf3",
        "purl": "pkg:deb/ubuntu/iperf3@3.20-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.18-2",
        "3.19.1-2",
        "3.20-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-mapcache",
            "binary_version": "1.14.1-3build2"
          },
          {
            "binary_name": "libmapcache1t64",
            "binary_version": "1.14.1-3build2"
          },
          {
            "binary_name": "mapcache-cgi",
            "binary_version": "1.14.1-3build2"
          },
          {
            "binary_name": "mapcache-tools",
            "binary_version": "1.14.1-3build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "mapcache",
        "purl": "pkg:deb/ubuntu/mapcache@1.14.1-3build2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.14.1-3",
        "1.14.1-3build1",
        "1.14.1-3build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "sail-ocaml",
            "binary_version": "0.19.1+dfsg5-1build3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "sail-ocaml",
        "purl": "pkg:deb/ubuntu/sail-ocaml@0.19.1+dfsg5-1build3?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.19.1+dfsg5-1",
        "0.19.1+dfsg5-1build2",
        "0.19.1+dfsg5-1build3"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2026-67216",
  "modified": "2026-08-06T00:23:22Z",
  "published": "2026-07-29T14:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-67216"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-67216"
    },
    {
      "type": "REPORT",
      "url": "https://joshua.hu/cjson-json-parser-cve-vulnerabilities"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-67216"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…