CVE-2026-3707
MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Mar 8, 2026
- Updated
- Mar 10, 2026
- Reserved
- Mar 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | 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 | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
webp4jMrNanko |
|
References
- VDB-349653 | MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflowvdb-entrytechnical-description
- VDB-349653 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #765972 | MrNanko(dev.matrixlab:webp4j) webp4j <= 1.4.0 Integer Overflow to Buffer Overflowthird-party-advisory
- https://github.com/MrNanko/webp4j/issues/6issue-tracking
- https://github.com/MrNanko/webp4j/issues/6#issuecomment-3941945014issue-tracking
- https://github.com/Sp1d3rL1/Webp4j-Heap-Buffer-Overflow/blob/main/README.EN.mdexploit
- https://github.com/MrNanko/webp4j/commit/89771b201c66d15d29e4cc016d8aae82b6a5fbe1patch
- https://github.com/MrNanko/webp4j/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.