在 Perl 的 Imager 库中,1.037 之前的版本在处理原始图像时,如果 值超出有效范围,会导致进程在 函数中异常退出。 具体原因如下:代码未对 进行范围检查。行缓冲区的大小被计算为图像宽度乘以通道数,且未执行溢出检查。因此,当传入负值或极大的通道数时,会触发过大的内存分配请求。一旦该分配失败,Imager 的内存分配器将直接调用 终止进程。 向 传入不可信的 值,将导致一个无法捕获的进程退出。
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 |
|---|---|---|---|---|
| - | - | 0 ~ 1.037 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet