| Titre | uclouvain openjpeg 2.5.4 Integer Overflow |
|---|
| Description | An integer overflow vulnerability exists in opj_pi_initialise_encode() (src/lib/openjp2/pi.c). The include_size variable is calculated through a chain of 32-bit multiplications without overflow checking. When encoding parameters satisfy:
numlayers × l_max_res × numcomps × l_max_prec > UINT32_MAX
the result is truncated, causing a smaller-than-required heap buffer allocation. Subsequent accesses to the include array exceed the allocated bounds. |
|---|
| La source | ⚠️ https://github.com/uclouvain/openjpeg/issues/1619 |
|---|
| Utilisateur | Kery Qi (UID 94424) |
|---|
| Soumission | 05/04/2026 15:44 (il y a 6 mois) |
|---|
| Modérer | 13/04/2026 10:41 (8 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 357114 [uclouvain openjpeg jusqu’à 2.5.4 src/lib/openjp2/pi.c opj_pi_initialise_encode buffer overflow] |
|---|
| Points | 20 |
|---|