CVE-2026-104016
Last modified
CVE-2026-104016 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. ProtobufParser parses length-prefixed protobuf string and bytes fields by checking (_inputPtr + len) <= _inputEnd and then, on the fast path, calling _finishShortText(len). Both use 32-bit signed integer arithmetic. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
ProtobufParser parses length-prefixed protobuf string and bytes fields by checking (_inputPtr + len) <= _inputEnd and then, on the fast path, calling _finishShortText(len). Both use 32-bit signed integer arithmetic. When an attacker supplies a varint decoding to a length near Integer.MAX_VALUE, _inputPtr + len overflows to a negative value, the bounds check passes, and _finishShortText(len) reaches TextBuffer.expandCurrentSegment(len), which performs Arrays.copyOf with no cap and throws OutOfMemoryError: Requested array size exceeds VM limit. The JVM refuses arrays larger than Integer.MAX_VALUE - 8 before consulting available heap, so -Xmx tuning does not mitigate the issue. StreamReadConstraints.maxStringLength and maxDocumentLength do not gate this path: a 33-byte payload is far below any document-length cap and the string-length check does not fire before the allocation. This was confirmed empirically against shipping artifacts with maxStringLength, maxDocumentLength and maxNestingDepth all configured. A February 2026 hardening commit added the equivalent overflow guard to the packed-array-length and message-length paths but left the string-length call sites unguarded. No privileges or user interaction beyond the ability to submit data for parsing are required.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-dataformat-protobuf | >= 2.6.0, < 2.18.12; >= 2.19.0, < 2.21.8; >= 2.22.0, < 2.22.4 |
| FasterXML | jackson-dataformat-protobuf | >= 3.0.0, < 3.1.8; >= 3.2.0, < 3.2.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-104016?
How severe is CVE-2026-104016?
How do I fix CVE-2026-104016?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-104004MongoDB Server's collection validation feature may not prope…6.5
- CVE-2026-104005A security issue was discovered in MongoDB mongos (the shard…6.5
- CVE-2026-104006The SpeedyCache – Cache, Optimization, Performance plugin fo…3.7
- CVE-2026-104010The WPSyncSheets For Contact Form 7 – CF7 Google Sheets Conn…7.5
- CVE-2026-104011Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-104012The Rox Appointment Booking – Appointment Booking Scheduling…8.8
- CVE-2026-104018An improper privilege management vulnerability (CWE-269) exi…8.8
- CVE-2026-104019OS command injection in the Studio Space startup validation …9
- CVE-2026-104020Uncontrolled recursion in the Ion reader in Amazon Ion Pytho…7.5
- CVE-2026-104021The Fastcache by Host.it plugin for WordPress is vulnerable …7.2
- CVE-2026-104022The Academy LMS – AI Course Builder, Quizzes, Certificates &…5.4
- CVE-2026-104023The Smart Popup by Supsystic plugin for WordPress is vulnera…4.9
Are you affected by CVE-2026-104016?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
