# CVE-2026-104017: Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf

- Severity: High 7.5 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T15:26:17.136Z
- Modified: 2026-12-01T16:44:59.939Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf: from 2.8.0 up to 2.18.11; from 2.19.0 up to 2.21.7; from 2.22.0 up to 2.22.3
- tools.jackson.dataformat:jackson-dataformat-protobuf: from 3.0.0 up to 3.1.7; from 3.2.0 up to 3.2.3

## References

- <https://www.herodevs.com/vulnerability-directory/cve-2026-104017> (exploit)
- <https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-ww35-763r-jg22>
- <https://github.com/FasterXML/jackson-dataformats-binary/pull/817>

## Sources

- CVE List: [CVE-2026-104017](https://www.cve.org/CVERecord?id=CVE-2026-104017), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-104017](https://nvd.nist.gov/vuln/detail/CVE-2026-104017), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-104017 · Whole record: https://cve.day/CVE-2026-104017.json · Rebuilt by cve.day 2026-12-01T16:57:02.644Z
