CVE-2022-1122

Aliases:DEBIAN-CVE-2022-1122ALPINE-CVE-2022-1122
Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 29 Mar 2022, 17:25
Last modified:03 Nov 2025, 19:26

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
1.1% LOW
1% probability +1.05%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

29 Mar 2022, 17:25
Published
Vulnerability first disclosed
03 Nov 2025, 19:26
Last Modified
Vulnerability information updated

Description

A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 1.10% Percentile: 64%

Techniques & Countermeasures

  • CWE-665Improper Initialization

    The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.

  • CWE-824Access of Uninitialized Pointer

    The product accesses or uses a pointer that has not been initialized.

Affected Systems

  • alpineopenjpeg

    < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0

  • debianopenjpeg2

    < 2.4.0-3+deb11u1 | < 2.5.0-1 | < 2.5.0-1 | < 2.5.0-1

  • debiandebian_linux

    9.0

  • fedoraprojectfedora

    34 | 35 | 36

  • uclouvainopenjpeg

    2.4.0

References (9)