CVE-2022-1122
5.5
MEDIUM
CVSS 3.1
EPSS 0.05%
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.
How to fix CVE-2022-1122
To remediate CVE-2022-1122, upgrade the affected package to a fixed version below.
- Alpine/openjpeg—upgrade to 2.5.0-r0 or later
- —upgrade to 2.4.0-3+deb11u1 or later
Is CVE-2022-1122 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.5.0-r0
- from 0, < 2.4.0-3+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |