---
title: "CVE-2024-31755\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-31755?format=md
keywords: index, follow
---

# CVE-2024-31755

Publication date 26 April 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.6 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2024-31755?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cjson | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Fixed 1.7.17-1ubuntu0.1~esm2  Ubuntu Pro |
| 23.10 mantic | Fixed 1.7.16-1ubuntu0.2 |
| 22.04 LTS jammy | Fixed 1.7.15-1ubuntu0.1~esm2  Ubuntu Pro |
| 20.04 LTS focal | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.6 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.6 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31755)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-31755)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-31755)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-31755)

### Related Ubuntu Security Notices (USN)

+ [USN-6784-1](https://usn.ubuntu.com/USN-6784-1)
+ cJSON vulnerabilities
+ 23 May 2024

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-31755>
* <https://github.com/DaveGamble/cJSON/issues/839>
* <https://github.com/DaveGamble/cJSON/pull/840>
* <https://github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59>
* <https://github.com/DaveGamble/cJSON/pull/849/commits/18d1749e26eb1abe803bf49f383e72faec02da93>
