{"answers":{"affected":"8 open source packages ship an affected version, including com.squareup.wire:wire-runtime and com.squareup.wire:wire-runtime-jvm. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45799 exists.","fix":"Upgrade com.squareup.wire:wire-runtime to a fixed version for your release line: 6.3.0 or 7.0.0-alpha03.","what":"CVE-2026-45799 is a high-severity denial of service vulnerability in square wire, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45799 and fix it if it is affected.\n\nWhat it is: CVE-2026-45799 is a high-severity denial of service vulnerability in square wire, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45799 exists.\n\nAffected packages and fixed versions:\n- com.squareup.wire:wire-runtime (Maven): affected all versions; fixed in 6.3.0\n- com.squareup.wire:wire-runtime (Maven): affected all versions; fixed in 6.3.0\n- com.squareup.wire:wire-runtime (Maven): affected from 7.0.0-alpha01; fixed in 7.0.0-alpha03\n- com.squareup.wire:wire-runtime (Maven): affected from 7.0.0-alpha01; fixed in 7.0.0-alpha03\n- com.squareup.wire:wire-runtime-jvm (Maven): affected all versions; fixed in 6.3.0\n- com.squareup.wire:wire-runtime-jvm (Maven): affected all versions; fixed in 6.3.0\n- com.squareup.wire:wire-runtime-jvm (Maven): affected from 7.0.0-alpha01; fixed in 7.0.0-alpha03\n- com.squareup.wire:wire-runtime-jvm (Maven): affected from 7.0.0-alpha01; fixed in 7.0.0-alpha03\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45799/ (Markdown: https://insights.sbomify.com/CVE-2026-45799/index.md)","id":"CVE-2026-45799","markdown":"https://insights.sbomify.com/CVE-2026-45799/index.md","name":"CVE-2026-45799","record":{"aliases":["ECHO-732c-42e9-bce2","GHSA-7xpr-hc2w-34m9","UBUNTU-CVE-2026-45799"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Wire protobuf library","requires_auth":"none","summary":"Attackers can crash Wire-decoding services by sending crafted protobuf payloads that trigger an unhandled exception due to missing negative-length validation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wire","vendor":"squareup"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service","id":"CVE-2026-45799","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":8,"n_references":7,"next":{"headline":"Vvveb: Authenticated SQL injection in /user/orders via order_by and direction","id":"CVE-2026-45800"},"packages":[{"ecosystem":"Maven","fixed":["6.3.0"],"introduced":["0"],"last_affected":[],"package":"com.squareup.wire:wire-runtime","purl":null,"source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["6.3.0"],"introduced":["0"],"last_affected":[],"package":"com.squareup.wire:wire-runtime","purl":"pkg:maven/com.squareup.wire/wire-runtime","source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["7.0.0-alpha03"],"introduced":["7.0.0-alpha01"],"last_affected":[],"package":"com.squareup.wire:wire-runtime","purl":null,"source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["7.0.0-alpha03"],"introduced":["7.0.0-alpha01"],"last_affected":[],"package":"com.squareup.wire:wire-runtime","purl":"pkg:maven/com.squareup.wire/wire-runtime","source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["6.3.0"],"introduced":["0"],"last_affected":[],"package":"com.squareup.wire:wire-runtime-jvm","purl":null,"source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["6.3.0"],"introduced":["0"],"last_affected":[],"package":"com.squareup.wire:wire-runtime-jvm","purl":"pkg:maven/com.squareup.wire/wire-runtime-jvm","source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["7.0.0-alpha03"],"introduced":["7.0.0-alpha01"],"last_affected":[],"package":"com.squareup.wire:wire-runtime-jvm","purl":null,"source":"GHSA-7xpr-hc2w-34m9"},{"ecosystem":"Maven","fixed":["7.0.0-alpha03"],"introduced":["7.0.0-alpha01"],"last_affected":[],"package":"com.squareup.wire:wire-runtime-jvm","purl":"pkg:maven/com.squareup.wire/wire-runtime-jvm","source":"GHSA-7xpr-hc2w-34m9"}],"prev":{"headline":"Memory corruption in wazuh","id":"CVE-2026-45798"},"products":["wire"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["square"]},"summary":"Attackers can crash Wire-decoding services by sending crafted protobuf payloads that trigger an unhandled exception due to missing negative-length validation.","url":"https://insights.sbomify.com/CVE-2026-45799/"}