{"answers":{"affected":"2 open source packages ship an affected version, including github.com/square/wire.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61695 exists.","fix":"Upgrade github.com/square/wire to 6.4.1 or later.","what":"CVE-2026-61695 is a high-severity vulnerability in square wire, published on 23 Sep 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-61695 and fix it if it is affected.\n\nWhat it is: CVE-2026-61695 is a high-severity vulnerability in square wire, published on 23 Sep 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-61695 exists.\n\nAffected packages and fixed versions:\n- github.com/square/wire (SwiftURL): affected all versions; fixed in 6.4.1\n- github.com/square/wire (SwiftURL): affected all versions; fixed in 6.4.1\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-61695/ (Markdown: https://insights.sbomify.com/CVE-2026-61695/index.md)","id":"CVE-2026-61695","markdown":"https://insights.sbomify.com/CVE-2026-61695/index.md","name":"CVE-2026-61695","record":{"aliases":["GHSA-86wm-r4c5-2rc9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Swift protobuf library","requires_auth":"none","summary":"Attackers can crash Swift services decoding untrusted protobuf data by exploiting a negative length check in the Wire library.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"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.4.1 and 7.0.0-alpha04, Wire's Swift runtime ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) accepts a negative length for a LENGTH_DELIMITED field inside an unknown START_GROUP field. ProtoReader.readData() forwards the negative count to ReadBuffer.readData(count:), whose upper-bound-only check permits the value to reach Foundation Data(bytes:count:) and trigger an unrecoverable process trap instead of a catchable ProtoDecoder.Error. Any Swift process decoding untrusted protobuf bytes can be crashed without authentication, user interaction, or knowledge of the target schema. This issue is fixed in versions 6.4.1 and 7.0.0-alpha04.","ecosystems":["SwiftURL"],"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 Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service","id":"CVE-2026-61695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":2,"n_references":6,"next":{"headline":"Forem: Stored XSS in Admin Abuse Report Rendering","id":"CVE-2026-61696"},"packages":[{"ecosystem":"SwiftURL","fixed":["6.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/square/wire","purl":null,"source":"GHSA-86wm-r4c5-2rc9"},{"ecosystem":"SwiftURL","fixed":["6.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/square/wire","purl":"pkg:swift/github.com/square/wire","source":"GHSA-86wm-r4c5-2rc9"}],"prev":{"headline":"Grav: Decompression Bomb via ZipArchiver - Missing Extraction Limits","id":"CVE-2026-61690"},"products":["wire"],"published":"2026-09-23","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":"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-09-29","vendors":["square"]},"summary":"Attackers can crash Swift services decoding untrusted protobuf data by exploiting a negative length check in the Wire library.","url":"https://insights.sbomify.com/CVE-2026-61695/"}