Imager::File::PNG 模块中,在 Perl 环境下,从 1.003 版本开始到 1.004 之前的版本中,在 函数中读取包含 tRNS 透明度块的 PNG 图像时,会发生缓冲区溢出(写入超出行缓冲区的末尾)。 当存在 tRNS 块时, 会为生成的图像添加一个 Alpha 通道,但仍然根据原始通道数来分配行缓冲区的大小。由于 libpng 会将透明度信息扩展并填充到该额外的通道中,因此 会多填充一个通道(每个样本多写 1 字节),从而在分配缓冲区末尾之外多写 个字节。调色板图像会通过 处理,16 位图像
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 1.003 ~ 1.004 | - |
|
| - | - | 1.034 ~ 1.035 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet