Home

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.

PUBLISHED Reserved 2026-03-07 | Published 2026-03-08 | Updated 2026-03-08 | Assigner VulDB




MEDIUM: 4.8CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
MEDIUM: 5.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
4.3AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Problem types

Integer Overflow

Numeric Error

Product status

1.0
affected

1.1
affected

1.2
affected

1.3
affected

Timeline

2026-03-07:Advisory disclosed
2026-03-07:VulDB entry created
2026-03-07:VulDB entry last update

Credits

sp1d3r (VulDB User) reporter

References

vuldb.com/?id.349653 (VDB-349653 | MrNanko webp4j gif_decoder.c DecodeGifFromMemory integer overflow) vdb-entry technical-description

vuldb.com/?ctiid.349653 (VDB-349653 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.765972 (Submit #765972 | MrNanko(dev.matrixlab:webp4j) webp4j <= 1.4.0 Integer Overflow to Buffer Overflow) third-party-advisory

github.com/MrNanko/webp4j/issues/6 issue-tracking

github.com/MrNanko/webp4j/issues/6 issue-tracking

github.com/...4j-Heap-Buffer-Overflow/blob/main/README.EN.md exploit

github.com/...ommit/89771b201c66d15d29e4cc016d8aae82b6a5fbe1 patch

github.com/MrNanko/webp4j/ product

cve.org (CVE-2026-3707)

nvd.nist.gov (CVE-2026-3707)

Download JSON