# CVE-2026-3707: MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-08T05:02:15.404Z
- Modified: 2026-06-17T10:44:02.890Z
- Weaknesses: CWE-189, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- MrNanko webp4j: 1.0; 1.1; 1.2; 1.3

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/Sp1d3rL1/Webp4j-Heap-Buffer-Overflow/blob/main/README.EN.md> (exploit)
- <https://vuldb.com/?id.349653> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.349653> (permissions-required, signature)
- <https://vuldb.com/?submit.765972> (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/MrNanko/webp4j/commit/89771b201c66d15d29e4cc016d8aae82b6a5fbe1> (patch)
- <https://github.com/MrNanko/webp4j/> (product)

## Sources

- CVE List: [CVE-2026-3707](https://www.cve.org/CVERecord?id=CVE-2026-3707), CVE Terms of Use, modified 2026-03-10
- NVD: [CVE-2026-3707](https://nvd.nist.gov/vuln/detail/CVE-2026-3707), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3707 · Whole record: https://cve.day/CVE-2026-3707.json · Rebuilt by cve.day 2026-11-25T22:59:15.500Z
