CVE-2026-45799 (GCVE-0-2026-45799)

Vulnerability from cvelistv5 – Published: 2026-07-17 19:49 – Updated: 2026-07-20 13:51
VLAI
Title
Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service
Summary
Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.3.0 and 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() and ProtoReader.skipGroup() in wire-runtime do not validate that a LENGTH_DELIMITED field length is non-negative before skip(), allowing a crafted protobuf varint encoding -128 as a signed Int to make skip(-128) move the internal position negative and make the next readByte() throw ArrayIndexOutOfBoundsException instead of the documented IOException or ProtocolException, which can crash services using ProtoAdapter.decode(byte[]) on untrusted payloads. This issue is fixed in versions 6.3.0 and 7.0.0-alpha03.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
  • CWE-129 - Improper Validation of Array Index
Assigner
Impacted products
Vendor Product Version
square wire Affected: < 6.3.0
Affected: >= 7.0.0-alpha01, < 7.0.0-alpha03
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-45799",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-20T13:51:12.411548Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-07-20T13:51:25.748Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "wire",
          "vendor": "square",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 6.3.0"
            },
            {
              "status": "affected",
              "version": "\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.3.0 and 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() and ProtoReader.skipGroup() in wire-runtime do not validate that a LENGTH_DELIMITED field length is non-negative before skip(), allowing a crafted protobuf varint encoding -128 as a signed Int to make skip(-128) move the internal position negative and make the next readByte() throw ArrayIndexOutOfBoundsException instead of the documented IOException or ProtocolException, which can crash services using ProtoAdapter.decode(byte[]) on untrusted payloads. This issue is fixed in versions 6.3.0 and 7.0.0-alpha03."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-129",
              "description": "CWE-129: Improper Validation of Array Index",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-17T19:49:30.331Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
        },
        {
          "name": "https://github.com/square/wire/pull/3595",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/pull/3595"
        },
        {
          "name": "https://github.com/square/wire/pull/3597",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/pull/3597"
        },
        {
          "name": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0"
        },
        {
          "name": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"
        },
        {
          "name": "https://github.com/square/wire/releases/tag/6.3.0",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/releases/tag/6.3.0"
        },
        {
          "name": "https://github.com/square/wire/releases/tag/7.0.0-alpha03",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/square/wire/releases/tag/7.0.0-alpha03"
        }
      ],
      "source": {
        "advisory": "GHSA-7xpr-hc2w-34m9",
        "discovery": "UNKNOWN"
      },
      "title": "Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-45799",
    "datePublished": "2026-07-17T19:49:30.331Z",
    "dateReserved": "2026-05-13T08:19:32.603Z",
    "dateUpdated": "2026-07-20T13:51:25.748Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-45799",
      "date": "2026-07-21",
      "epss": "0.00496",
      "percentile": "0.39351"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-45799\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-07-17T20:17:18.393\",\"lastModified\":\"2026-07-20T15:16:38.560\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.3.0 and 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() and ProtoReader.skipGroup() in wire-runtime do not validate that a LENGTH_DELIMITED field length is non-negative before skip(), allowing a crafted protobuf varint encoding -128 as a signed Int to make skip(-128) move the internal position negative and make the next readByte() throw ArrayIndexOutOfBoundsException instead of the documented IOException or ProtocolException, which can crash services using ProtoAdapter.decode(byte[]) on untrusted payloads. This issue is fixed in versions 6.3.0 and 7.0.0-alpha03.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"square\",\"product\":\"wire\",\"versions\":[{\"version\":\"\u003c 6.3.0\",\"status\":\"affected\"},{\"version\":\"\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"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}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-07-20T13:51:12.411548Z\",\"id\":\"CVE-2026-45799\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-129\"}]}],\"references\":[{\"url\":\"https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/pull/3595\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/pull/3597\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/releases/tag/6.3.0\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/releases/tag/7.0.0-alpha03\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-45799\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-07-20T13:51:12.411548Z\"}}}], \"references\": [{\"url\": \"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-07-20T13:51:07.268Z\"}}], \"cna\": {\"title\": \"Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service\", \"source\": {\"advisory\": \"GHSA-7xpr-hc2w-34m9\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"square\", \"product\": \"wire\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 6.3.0\"}, {\"status\": \"affected\", \"version\": \"\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03\"}]}], \"references\": [{\"url\": \"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9\", \"name\": \"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/square/wire/pull/3595\", \"name\": \"https://github.com/square/wire/pull/3595\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/square/wire/pull/3597\", \"name\": \"https://github.com/square/wire/pull/3597\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0\", \"name\": \"https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773\", \"name\": \"https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/square/wire/releases/tag/6.3.0\", \"name\": \"https://github.com/square/wire/releases/tag/6.3.0\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/square/wire/releases/tag/7.0.0-alpha03\", \"name\": \"https://github.com/square/wire/releases/tag/7.0.0-alpha03\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.3.0 and 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() and ProtoReader.skipGroup() in wire-runtime do not validate that a LENGTH_DELIMITED field length is non-negative before skip(), allowing a crafted protobuf varint encoding -128 as a signed Int to make skip(-128) move the internal position negative and make the next readByte() throw ArrayIndexOutOfBoundsException instead of the documented IOException or ProtocolException, which can crash services using ProtoAdapter.decode(byte[]) on untrusted payloads. This issue is fixed in versions 6.3.0 and 7.0.0-alpha03.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-129\", \"description\": \"CWE-129: Improper Validation of Array Index\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-07-17T19:49:30.331Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-45799\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-07-20T13:51:25.748Z\", \"dateReserved\": \"2026-05-13T08:19:32.603Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-07-17T19:49:30.331Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…