CVE-2026-104017
published high CVSS 3.1 · 7.5Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FasterXML | — | com.fasterxml.jackson.dataformat:jackson-dataformat-protobufjackson-dataformat-protobuf · 2.8.0 through 2.18.11 · 2.19.0 through 2.21.7 · 2.22.0 through 2.22.3 · Other versions: unaffected | Affected | Not stated | HeroDevs |
| FasterXML | — | tools.jackson.dataformat:jackson-dataformat-protobufjackson-dataformat-protobuf · 3.0.0 through 3.1.7 · 3.2.0 through 3.2.3 · Other versions: unaffected | Affected | Not stated | HeroDevs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- HeroDevs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FasterXML | jackson-dataformat-protobuf | 2.8.0 through 2.18.11 (affected · maven)2.19.0 through 2.21.7 (affected · maven)2.22.0 through 2.22.3 (affected · maven)Default: unaffected | HeroDevs · cna |
| FasterXML | jackson-dataformat-protobuf | 3.0.0 through 3.1.7 (affected · maven)3.2.0 through 3.2.3 (affected · maven)Default: unaffected | HeroDevs · cna |
Weaknesses
1- CWE-789 CWE-789 Memory Allocation with Excessive Size Value
References
3Provider assertions
1HeroDevs · cna
Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bd0dae3c2cb73494be88096eb870b53c1cce9a3aef977b1559fe617fee01e00c
- Ingested
- 01 Dec 2026, 15:32:51 UTC
- Source record
- Official CVE record