# JLSEC-2026-547: A flaw was found in the opj2decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files.

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-26T19:31:24.313Z
- Modified: 2026-07-25T18:24:37.065Z
- Related: CVE-2022-1122

## 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.

(As written by Julia Security Advisories.)

## Affected

- OpenJpeg_jll (Julia): from 2.4.0+0 before 2.5.0+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/uclouvain/openjpeg/issues/1368> (web)
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html> (web)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/> (web)
- <https://security.gentoo.org/glsa/202209-04> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-547](https://osv.dev/vulnerability/JLSEC-2026-547), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-547 · Whole record: https://cve.day/JLSEC-2026-547.json · Rebuilt by cve.day 2026-11-25T22:56:26.155Z
