← Back to CVE Explorer

CVE-2026-110747

Full vulnerability record from the local CVENow database.

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. An 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. This 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.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Deferred
Source identifier
36c7be3b-2937-45df-85ea-ca7133ea542c
Published
2026-10-28 01:16:55.017000
Last modified
2026-10-28 15:24:56.033000
View original CVE JSON
{
  "id": "CVE-2026-110747",
  "sourceIdentifier": "36c7be3b-2937-45df-85ea-ca7133ea542c",
  "published": "2026-10-28T01:16:55.017",
  "lastModified": "2026-10-28T15:24:56.033",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
      "affectedData": [
        {
          "vendor": "FasterXML",
          "product": "jackson-dataformat-protobuf",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf",
          "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
          "versions": [
            {
              "version": "2.21.6",
              "lessThan": "2.21.8",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "2.21.8",
              "versionType": "maven",
              "status": "unaffected"
            },
            {
              "version": "2.22.0",
              "lessThan": "2.22.4",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "2.22.4",
              "versionType": "maven",
              "status": "unaffected"
            }
          ]
        },
        {
          "vendor": "FasterXML",
          "product": "jackson-dataformat-protobuf",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "tools.jackson.dataformat:jackson-dataformat-protobuf",
          "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
          "versions": [
            {
              "version": "3.1.6",
              "lessThan": "3.1.8",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "3.1.8",
              "versionType": "maven",
              "status": "unaffected"
            },
            {
              "version": "3.2.2",
              "lessThan": "3.2.4",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "3.2.4",
              "versionType": "maven",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ]
  },
  "weaknesses": [
    {
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-fv7v-rrmh-4qcv",
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
    }
  ]
}