Integer Overflow or Wraparound Affecting dev.matrixlab.webp4j:webp4j-core package, versions [,2.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-DEVMATRIXLABWEBP4J-15518707
  • published13 Mar 2026
  • disclosed8 Mar 2026
  • creditUnknown

Introduced: 8 Mar 2026

CVE-2026-3707  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade dev.matrixlab.webp4j:webp4j-core to version 2.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the DecodeGifFromMemory() function of gif_decoder.c when processing the canvas_height argument. An attacker can cause memory corruption or potentially execute arbitrary code by supplying crafted input that triggers an integer overflow.

CVSS Base Scores

version 4.0
version 3.1