Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | 2.4.0 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/uclouvain/openjpeg/issues/1368Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00006.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202209-04Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/1368Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00006.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202209-04Third Party Advisory
FAQ
What is CVE-2022-1122?
CVE-2022-1122 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 t...
How severe is CVE-2022-1122?
CVE-2022-1122 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-1122?
Check the references section above for vendor advisories and patch information. Affected products include: Uclouvain Openjpeg, Fedoraproject Fedora, Debian Debian Linux.