| 标题 | uclouvain openjpeg 2.5.4 Integer Overflow |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/uclouvain/openjpeg/issues/1619 |
|---|
| 用户 | Kery Qi (UID 94424) |
|---|
| 提交 | 2026-04-05 15時44分 (6 月前) |
|---|
| 管理 | 2026-04-13 10時41分 (8 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 357114 [uclouvain openjpeg 直到 2.5.4 src/lib/openjp2/pi.c opj_pi_initialise_encode 内存损坏] |
|---|
| 积分 | 20 |
|---|