CVE & CISA-KEV Catalog

CVE-2022-1122

MEDIUM
5.5
CVSS v3
NVD

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

Remediation Available
openjpeg2Debian
Fixed in:2.4.0-3+deb11u1CVE-2022-1122
Fixed in:2.5.0-1CVE-2022-1122
Fixed in:2.5.0-1CVE-2022-1122
Fixed in:2.5.0-1CVE-2022-1122
libopenjp2-7Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm6USN-7083-1
Fixed in:2.3.0-2+deb10u2ubuntu0.1~esm3USN-7083-1
Fixed in:2.3.1-1ubuntu4.20.04.3USN-7083-1
Fixed in:2.4.0-6ubuntu0.2USN-7083-1
Fixed in:2.5.0-2ubuntu0.2USN-7083-1
libopenjp3d7Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm6USN-7083-1
Fixed in:2.3.0-2+deb10u2ubuntu0.1~esm3USN-7083-1
Fixed in:2.3.1-1ubuntu4.20.04.3USN-7083-1
Fixed in:2.4.0-6ubuntu0.2USN-7083-1
libopenjpip7Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm6USN-7083-1
Fixed in:2.3.0-2+deb10u2ubuntu0.1~esm3USN-7083-1
Fixed in:2.3.1-1ubuntu4.20.04.3USN-7083-1
Fixed in:2.4.0-6ubuntu0.2USN-7083-1
Fixed in:2.5.0-2ubuntu0.2USN-7083-1
openjpeg2Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm6USN-7083-1
Fixed in:2.3.0-2+deb10u2ubuntu0.1~esm3USN-7083-1
Fixed in:2.3.1-1ubuntu4.20.04.3USN-7083-1
Fixed in:2.4.0-6ubuntu0.2USN-7083-1
Fixed in:2.5.0-2ubuntu0.2USN-7083-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

1.08%probability of exploitation in 30 days
61stpercentile

Moderate risk: more likely to be exploited than 61% of all known CVEs.

References

Embed a live status badge for CVE-2022-1122
CVE-2022-1122 severity badge

Markdown

[![CVE-2022-1122](https://tridentstack.com/cve/badge/CVE-2022-1122.svg)](https://tridentstack.com/cve/CVE-2022-1122)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-1122"><img src="https://tridentstack.com/cve/badge/CVE-2022-1122.svg" alt="CVE-2022-1122"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.