OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.
The code uses a variable that has not been initialized, leading to unpredictable or unintended results.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Openjpeg | Uclouvain | * | 2.5.3 (including) |
| Red Hat Enterprise Linux 10 | RedHat | openjpeg2-0:2.5.2-4.el10_0.1 | * |
| Openjpeg2 | Ubuntu | devel | * |
| Openjpeg2 | Ubuntu | plucky | * |
| Openjpeg2 | Ubuntu | questing | * |
| Openjpeg2 | Ubuntu | upstream | * |