In jackson-dataformat-protobuf, ProtobufParser._finishBytes() allocates a byte[] from the attacker-controlled length prefix of a length-delimited bytes field before reading the body, without checking the length against the remaining input or the enclosing message. A message of about 6 bytes can force an allocation of about 2 GB, causing an OutOfMemoryError that escapes the parser and crashes the request thread (denial of service). This affects com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf 2.8.0 through 2.18.11, 2.19.0 through 2.21.7 and 2.22.0 through 2.22.3, and tools.jackson.dataformat:jackson-dataformat-protobuf 3.0.0 through 3.1.7 and 3.2.0 through 3.2.3. It is fixed in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 01 Dec 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | In jackson-dataformat-protobuf, ProtobufParser._finishBytes() allocates a byte[] from the attacker-controlled length prefix of a length-delimited bytes field before reading the body, without checking the length against the remaining input or the enclosing message. A message of about 6 bytes can force an allocation of about 2 GB, causing an OutOfMemoryError that escapes the parser and crashes the request thread (denial of service). This affects com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf 2.8.0 through 2.18.11, 2.19.0 through 2.21.7 and 2.22.0 through 2.22.3, and tools.jackson.dataformat:jackson-dataformat-protobuf 3.0.0 through 3.1.7 and 3.2.0 through 3.2.3. It is fixed in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4. | |
| Title | Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf | |
| Weaknesses | CWE-789 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: HeroDevs
Published:
Updated: 2026-12-01T16:44:59.939Z
Reserved: 2026-10-01T16:53:17.196Z
Link: CVE-2026-104017
No data.
Status : Received
Published: 2026-12-01T16:18:06.983
Modified: 2026-12-01T17:17:16.573
Link: CVE-2026-104017
No data.
OpenCVE Enrichment
No data.
Weaknesses