Advisory

USN-7973-1

Also known as: CVE-2023-26819, CVE-2023-53154, CVE-2025-57052

Summary

cjson vulnerabilities

Details

It was discovered that cJSON incorrectly handled parsing large numbers. An
attacker could possibly use this issue to cause a denial of service.
(CVE-2023-26819)

It was discovered that cJSON may perform out-of-bounds read when processing
specially crafted JSON files using parse_object. An attacker could possibly
use this issue to expose sensitive information or crash the program.
(CVE-2023-53154)

It was discovered that cJSON incorrectly validated array indices in JSON
pointers, which could result in an out-of-bounds memory access. An attacker
could possibly use this issue to cause a denial of service, or execute
arbitrary code. (CVE-2025-57052)

Severity

Not rated by the source.

Dates

Published
2026-01-23 04:53 UTC
Modified
2026-04-27 18:34 UTC

Affected packages and fixes

cjson

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.7.15-1ubuntu0.1 (ecosystem)

Fixed versions

1.7.15-1ubuntu0.1

Fix

  • Fixed version 1.7.15-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cjson

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.7.18-3.1ubuntu0.1 (ecosystem)

Fixed versions

1.7.18-3.1ubuntu0.1

Fix

  • Fixed version 1.7.18-3.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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