CVE catalog

CVE-2023-53154

cJSON vulnerabilities

[CVE catalog]

parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.

Severity
Medium · CVSS 5.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.28% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "cjson",
      "status": "fixed",
      "release": "sid",
      "version": "1.7.19-2"
    },
    {
      "name": "cjson",
      "status": "fixed",
      "release": "forky",
      "version": "1.7.19-2"
    },
    {
      "name": "cjson",
      "status": "fixed",
      "release": "trixie",
      "version": "1.7.18-3.1+deb13u1"
    },
    {
      "name": "cjson",
      "status": "fixed",
      "release": "trixie-security",
      "version": "1.7.18-3.1+deb13u1"
    },
    {
      "name": "cjson",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.7.15-1+deb12u4"
    },
    {
      "name": "cjson",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "1.7.15-1+deb12u4"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "cjson",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.18-1"
    },
    {
      "bug": null,
      "name": "cjson",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.18-1"
    },
    {
      "bug": null,
      "name": "cjson",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.18-1"
    },
    {
      "bug": null,
      "name": "cjson",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.15-1+deb12u3"
    }
  ],
  "distribution_packages": [
    {
      "name": "cjson",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.7.15-1+deb12u3"
    },
    {
      "name": "cjson",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.7.17-1ubuntu0.1~esm3"
    },
    {
      "name": "libcjson-dev",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.7.17-1ubuntu0.1~esm3"
    },
    {
      "name": "libcjson1",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.7.17-1ubuntu0.1~esm3"
    },
    {
      "name": "cjson",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.17-1ubuntu0.1~esm3"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.7.16-1",
        "1.7.16-2",
        "1.7.17-1",
        "1.7.17-1ubuntu0.1~esm2"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.7.17-1ubuntu0.1~esm3",
      "provider_record_id": "UBUNTU-CVE-2023-53154"
    },
    {
      "name": "cjson",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.15-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.7.14-1",
        "1.7.15-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.7.15-1ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2023-53154"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libcjson1]Unknown

    Source package: [cjson]

    Details (4)
    • 1.7.15-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

  • [libcjson-dev]Unknown

    Source package: [cjson]

    Details (4)
    • 1.7.15-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

    • 1.7.15-1+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1.7.15-1+deb12u3

      usn · cjson · debian · bookworm; usn · cjson · debian · 12

[Debian 13 (Trixie)]

  • [libcjson1]Unknown

    Source package: [cjson]

    Details (4)
    • 1.7.18-3.1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

  • [libcjson-dev]Unknown

    Source package: [cjson]

    Details (4)
    • 1.7.18-3.1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

    • 1.7.18-3.1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.7.18-1

      usn · cjson · debian · 13

Observed:

References