Vulnerability · Published Mar 8, 2026 · Assigned by VulDB
CVE-2026-3707MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow
Medium 5.3
In plain English
A medium-severity integer overflow in webp4j from MrNanko. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-190, CWE-189 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-349653 | MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow vdb-entry, technical-description
- VDB-349653 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #765972 | MrNanko(dev.matrixlab:webp4j) webp4j <= 1.4.0 Integer Overflow to Buffer Overflow third-party-advisory
- https://github.com/MrNanko/webp4j/issues/6 issue-tracking
- https://github.com/MrNanko/webp4j/issues/6#issuecomment-3941945014 issue-tracking
- https://github.com/Sp1d3rL1/Webp4j-Heap-Buffer-Overflow/blob/main/README.EN.md exploit
- https://github.com/MrNanko/webp4j/commit/89771b201c66d15d29e4cc016d8aae82b6a5fbe1 patch
- https://github.com/MrNanko/webp4j/ product