{
  "cveId": "CVE-2022-31117",
  "url": "https://patchblox.com/security/cve/CVE-2022-31117",
  "summary": "CVE-2022-31117 is fixed in 3 products on 1 platform, first by python-ujson 1.35-2ubuntu0.1~esm1, released July 5, 2022. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "python3-ujson: UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7\u002B",
  "description": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7\u002B. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.",
  "published": "2022-07-05T11:15:00Z",
  "severity": "Medium",
  "cvss": 5.9,
  "cvssVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.01876,
  "epssPercentile": 0.7955,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python-ujson",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.35-2ubuntu0.1~esm1",
      "fix": "python-ujson 1.35-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-ujson-1.35-2ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-ujson",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.35-2ubuntu0.1~esm1",
      "fix": "python3-ujson 1.35-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-ujson-1.35-2ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-ujson",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "5.1.0-1ubuntu0.1~esm1",
      "fix": "python3-ujson 5.1.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-ujson-5.1.0-1ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.4.0-1",
      "fix": "DEBIAN-CVE-2022-31117",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31117",
      "released": "2022-07-05T18:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.4.0-1",
      "fix": "DEBIAN-CVE-2022-31117",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31117",
      "released": "2022-07-05T18:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 14",
      "fixedVersion": "5.4.0-1",
      "fix": "DEBIAN-CVE-2022-31117",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31117",
      "released": "2022-07-05T18:15:08Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}