{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.64"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.64"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ef4a29a62ab48b8dc235f4af52cfd6319eda9a6a"
            }
          ],
          "repo": "https://github.com/thorfdbg/libjpeg",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ef4a29a62ab48b8dc235f4af52cfd6319eda9a6a"
            }
          ],
          "repo": "https://github.com/thorfdbg/libjpeg",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In libjpeg before 1.64, BitStream\u003cfalse\u003e::Get in bitstream.hpp has an assertion failure that may cause denial of service. This is related to out-of-bounds array access during arithmetically coded lossless scan or arithmetically coded sequential scan.",
  "id": "CVE-2022-31620",
  "modified": "2026-03-13T21:46:37.567219389Z",
  "published": "2022-05-25T21:15:08.530Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/thorfdbg/libjpeg/issues/70"
    },
    {
      "type": "FIX",
      "url": "https://github.com/thorfdbg/libjpeg/commit/ef4a29a62ab48b8dc235f4af52cfd6319eda9a6a"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}