cbcvebase.
CVE-2022-1122
published 2022-03-29

CVE-2022-1122: 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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.08%
61.6th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianopenjpeg2< openjpeg2 2.5.0-1 (bookworm)openjpeg2 2.5.0-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
the_openjpeg_projectopenjpeg2>= 0 < 2.4.0-3+deb11u12.4.0-3+deb11u1
the_openjpeg_projectopenjpeg2>= 0 < 2.5.0-12.5.0-1
the_openjpeg_projectopenjpeg2>= 0 < 2.5.0-12.5.0-1
the_openjpeg_projectopenjpeg2>= 0 < 2.5.0-12.5.0-1
the_openjpeg_projectopenjpeg2>= 0 < 2.3.1-1ubuntu4.20.04.32.3.1-1ubuntu4.20.04.3
the_openjpeg_projectopenjpeg2>= 0 < 2.4.0-6ubuntu0.22.4.0-6ubuntu0.2
the_openjpeg_projectopenjpeg2>= 0 < 2.5.0-2ubuntu0.22.5.0-2ubuntu0.2
the_openjpeg_projectopenjpeg2>= 0 < 2.1.2-1.1+deb9u6ubuntu0.1~esm62.1.2-1.1+deb9u6ubuntu0.1~esm6
the_openjpeg_projectopenjpeg2>= 0 < 2.3.0-2+deb10u2ubuntu0.1~esm32.3.0-2+deb10u2ubuntu0.1~esm3
uclouvainopenjpeg

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_oracle5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.