Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf
Summary
| CVE | CVE-2026-104017 |
|---|---|
| State | PUBLISHED |
| Assigner | HeroDevs |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 16:18:06 UTC |
| Updated | 2026-12-01 17:17:16 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from 36c7be3b-2937-45df-85ea-ca7133ea542c
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-789 | CWE-789 CWE-789 Memory Allocation with Excessive Size Value
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 36c7be3b-2937-45df-85ea-ca7133ea542c | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | FasterXML | Jackson-dataformat-protobuf | affected 2.8.0 2.18.11 maven | Not specified |
| CNA | FasterXML | Jackson-dataformat-protobuf | affected 2.19.0 2.21.7 maven | Not specified |
| CNA | FasterXML | Jackson-dataformat-protobuf | affected 2.22.0 2.22.3 maven | Not specified |
| CNA | FasterXML | Jackson-dataformat-protobuf | affected 3.0.0 3.1.7 maven | Not specified |
| CNA | FasterXML | Jackson-dataformat-protobuf | affected 3.2.0 3.2.3 maven | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/FasterXML/jackson-dataformats-binary/pull/817 | 36c7be3b-2937-45df-85ea-ca7133ea542c | github.com | |
| github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA... | 36c7be3b-2937-45df-85ea-ca7133ea542c | github.com | |
| www.herodevs.com/vulnerability-directory/cve-2026-104017 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | www.herodevs.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: apvxlab (AppViewX security research) (en)
There are currently no legacy QID mappings associated with this CVE.