7.6
CWE
476
EPSS
0.043%
Advisory Published
Updated

CVE-2024-31755: Null Pointer Dereference

First published: Fri Apr 26 2024(Updated: )

cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ubuntu/cjson<1.7.15-1ubuntu0.1~
1.7.15-1ubuntu0.1~
ubuntu/cjson<1.7.16-1ubuntu0.2
1.7.16-1ubuntu0.2
ubuntu/cjson<1.7.17-1ubuntu0.1~
1.7.17-1ubuntu0.1~
ubuntu/cjson<1.7.18
1.7.18
debian/cjson<=1.7.15-1+deb12u1
1.7.14-1+deb11u1
1.7.18-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-31755?

    CVE-2024-31755 has been classified as a high-severity vulnerability due to the potential for remote code execution resulting from a segmentation violation.

  • How do I fix CVE-2024-31755?

    To mitigate CVE-2024-31755, users should upgrade to cJSON version 1.7.18 or later, or any patched version provided by their operating system vendor.

  • What software is affected by CVE-2024-31755?

    CVE-2024-31755 affects cJSON version 1.7.17 and earlier versions across various distributions, including Ubuntu and Debian.

  • What are the potential consequences of CVE-2024-31755?

    Exploitation of CVE-2024-31755 could lead to denial of service and potentially allow attackers to execute arbitrary code on affected systems.

  • Is there any workaround for CVE-2024-31755?

    Currently, the best course of action for CVE-2024-31755 is to apply the available software updates as no reliable workarounds have been reported.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203