{"id":"CVE-2026-110747","revision":"96d3a963b2c5471eaeead37acc5218d4","records":[{"revision":"96d3a963b2c5471eaeead37acc5218d4","observedAt":"2026-10-28T02:00:16.672+00:00","statement":{"source":"cve-program","id":"CVE-2026-110747","aliases":[],"title":"jackson-dataformat-protobuf: integer overflow in ProtobufParser._readStringKey() allows OutOfMemoryError from an 8-byte payload","description":"ProtobufParser._readStringKey() reads the length prefix of a protobuf map entry's string key into an attacker-controlled int and then checks (_inputPtr + len) <= _inputEnd using signed arithmetic. For values near Integer.MAX_VALUE the addition overflows to a negative value and the check passes even when the input contains no key data. The parser then calls _finishShortText(len), which expands the text buffer to the declared length via TextBuffer.expandCurrentSegment and Arrays.copyOf, throwing OutOfMemoryError: Requested array size exceeds VM limit.\n\n\n\nAn 8-byte malformed message containing a map entry with a declared key length of 0x7FFFFFFF is sufficient. Configured StreamReadConstraints, including maxStringLength, maxNameLength, maxDocumentLength and maxNestingDepth, do not prevent the failure. Applications running with -XX:+ExitOnOutOfMemoryError terminate the JVM.\n\n\n\nThis is the same integer-overflow pattern addressed for other call sites in the remediation associated with CVE-2026-104016 and CVE-2026-104017; the map-key call site was corrected on the 3.x branches only, leaving the corresponding 2.x branches unguarded. Release lines 2.18, 2.19 and 2.20 do not contain _readStringKey() and are not affected by this vector. No privileges or user interaction beyond the ability to submit data for parsing are required. The 3.0 release line and 3.1.0-3.1.5 / 3.2.0-3.2.1 do not contain _readStringKey() and are therefore not affected; the method first appears in 3.1.6 and 3.2.2, mirroring its introduction at 2.21.6 on the 2.x side.","state":0,"publishedAt":"2026-10-28T00:02:32.462+00:00","modifiedAt":"2026-10-28T00:02:32.462+00:00","affected":[{"ecosystem":"https://repo.maven.apache.org/maven2","name":"com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"FasterXML\",\n                    \"product\": \"jackson-dataformat-protobuf\",\n                    \"collectionURL\": \"https://repo.maven.apache.org/maven2\",\n                    \"packageName\": \"com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf\",\n                    \"repo\": \"https://github.com/FasterXML/jackson-dataformats-binary\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"2.21.6\",\n                            \"lessThan\": \"2.21.8\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"2.21.8\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"2.22.0\",\n                            \"lessThan\": \"2.22.4\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"2.22.4\",\n                            \"versionType\": \"maven\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"},{"ecosystem":"https://repo.maven.apache.org/maven2","name":"tools.jackson.dataformat:jackson-dataformat-protobuf","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"FasterXML\",\n                    \"product\": \"jackson-dataformat-protobuf\",\n                    \"collectionURL\": \"https://repo.maven.apache.org/maven2\",\n                    \"packageName\": \"tools.jackson.dataformat:jackson-dataformat-protobuf\",\n                    \"repo\": \"https://github.com/FasterXML/jackson-dataformats-binary\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"3.1.6\",\n                            \"lessThan\": \"3.1.8\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"3.1.8\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"3.2.2\",\n                            \"lessThan\": \"3.2.4\",\n                            \"versionType\": \"maven\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"3.2.4\",\n                            \"versionType\": \"maven\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-fv7v-rrmh-4qcv"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110747","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110747","identifiers":["CVE-2026-110747"]},"retained":false,"historicalAffected":[]}],"coverage":[]}