Integer Overflow or Wraparound Affecting com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf package, versions [2.21.6, 2.21.8)[2.22.0, 2.22.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (33rd 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-COMFASTERXMLJACKSONDATAFORMAT-21762814
  • published28 Oct 2026
  • disclosed28 Oct 2026
  • creditUnknown

Introduced: 28 Oct 2026

NewCVE-2026-110747  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf to version 2.21.8, 2.22.4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the ProtobufParser._readStringKey() method. An attacker can crash the process with an OutOfMemoryError by sending a message of about 8 bytes with a map key length near Integer.MAX_VALUE, which passes the buffer bounds check even when no key data follows and triggers an oversized allocation. Only applications that parse untrusted Protobuf input with a schema containing a map<string, V> field are affected, and StreamReadConstraints does not prevent it.

References

CVSS Base Scores

version 4.0
version 3.1