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.
Published: 2022-03-29
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2975-1 openjpeg2 security update
Debian DLA Debian DLA DLA-4107-1 openjpeg2 security update
EUVD EUVD EUVD-2022-24465 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.
Ubuntu USN Ubuntu USN USN-7083-1 OpenJPEG vulnerabilities
History

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Redhat Enterprise Linux
Uclouvain Openjpeg
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-11-03T19:26:42.585Z

Reserved: 2022-03-28T00:00:00.000Z

Link: CVE-2022-1122

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-29T18:15:07.977

Modified: 2025-11-03T20:15:52.347

Link: CVE-2022-1122

cve-icon Redhat

Severity : Low

Publid Date: 2021-07-13T00:00:00Z

Links: CVE-2022-1122 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses