Description
A vulnerability was identified in MrNanko webp4j up to 1.3.x. The affected element is the function DecodeGifFromMemory of the file src/main/c/gif_decoder.c. Such manipulation of the argument canvas_height leads to integer overflow. Local access is required to approach this attack. The exploit is publicly available and might be used. The name of the patch is 89771b201c66d15d29e4cc016d8aae82b6a5fbe1. It is advisable to implement a patch to correct this issue.
Problem types
Product status
1.1
1.2
1.3
Timeline
| 2026-03-07: | Advisory disclosed |
| 2026-03-07: | VulDB entry created |
| 2026-03-07: | VulDB entry last update |
Credits
sp1d3r (VulDB User)
References
vuldb.com/?id.349653 (VDB-349653 | MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow)
vuldb.com/?ctiid.349653 (VDB-349653 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.765972 (Submit #765972 | MrNanko(dev.matrixlab:webp4j) webp4j <= 1.4.0 Integer Overflow to Buffer Overflow)
github.com/MrNanko/webp4j/issues/6
github.com/MrNanko/webp4j/issues/6
github.com/...4j-Heap-Buffer-Overflow/blob/main/README.EN.md
github.com/...ommit/89771b201c66d15d29e4cc016d8aae82b6a5fbe1
github.com/MrNanko/webp4j/