{"answers":{"affected":"4 open source packages ship an affected version, including github.com/go-jose/go-jose/v3 and github.com/go-jose/go-jose/v4.","exploited":"There is no known exploitation of CVE-2026-116585 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-116585 is a medium-severity vulnerability in go-jose, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-116585 and fix it if it is affected.\n\nWhat it is: CVE-2026-116585 is a medium-severity vulnerability in go-jose, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-116585 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/go-jose/go-jose/v3 (Go): affected all versions up to 3.0.5; no fix listed\n- github.com/go-jose/go-jose/v3 (Go): affected all versions up to 3.0.5; no fix listed\n- github.com/go-jose/go-jose/v4 (Go): affected all versions; fixed in 4.1.5\n- github.com/go-jose/go-jose/v4 (Go): affected all versions; fixed in 4.1.5\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-116585/ (Markdown: https://insights.sbomify.com/CVE-2026-116585/index.md)","id":"CVE-2026-116585","markdown":"https://insights.sbomify.com/CVE-2026-116585/index.md","name":"CVE-2026-116585","record":{"aliases":["GHSA-4w3g-jfj2-cw2q","MINI-22gq-jqh7-rg24","MINI-2fhf-jg85-23q3","MINI-2gwq-7cx7-99r7","MINI-2p59-v5vw-74gx","MINI-2vj7-hg8g-cc82","MINI-2vv6-mh6q-rppx","MINI-3mg6-pf38-m5p5","MINI-4565-7mcr-r5fm","MINI-4p8m-4726-xp3c","MINI-5h2c-9f4g-gqr2","MINI-6g87-4rjc-3cx2","MINI-6qp5-vxx4-973f","MINI-6r54-57v3-m4r4","MINI-6w77-2xpc-mxr4","MINI-74jq-mvhv-fj8g","MINI-7hx9-gqgr-fjg7","MINI-7pm4-8x6m-5vhw","MINI-8cxw-x8rr-2w9v","MINI-8h3g-m586-rfjr","MINI-99ch-v8fj-7c2f","MINI-9x9f-x8c3-qgq9","MINI-cgjr-vpgr-w5qg","MINI-cw4j-vvp6-mmfh","MINI-f63g-hpx5-23cg","MINI-fc2v-mp7m-rw27","MINI-fm9x-8p88-p4wx","MINI-frhm-9qhm-mm97","MINI-g4jf-q664-f9ch","MINI-gchr-82x5-g9qv","MINI-gf5p-fwfc-wp66","MINI-j25q-4c8w-r8hq","MINI-j36p-f5r3-x8hp","MINI-j9j2-q4qq-vm97","MINI-j9j4-mq7j-pwhr","MINI-jgq6-428w-h3fj","MINI-jvv2-7p48-vw5x","MINI-m35h-x3p3-rvr5","MINI-p5rf-c5mw-46m4","MINI-p8ph-5939-c5w8","MINI-q593-7rgf-h9x9","MINI-q6vq-chqv-85ph","MINI-v3w8-82g7-r5p7","MINI-v43f-2x3c-jprv","MINI-v7f9-rvxx-mh9p","MINI-v9mf-cwpm-c42c","MINI-w32c-qgph-2x5j","MINI-wh67-855m-gxhp","MINI-wpvh-xv72-82m4","MINI-wr65-h9v8-jmc3","MINI-x45j-w6x4-8f79","MINI-x75w-phwj-3fx5","MINI-xc95-8gxr-2j7c","MINI-xj85-m9wj-3835","MINI-xmm7-w8m9-6vh8","MINI-xpf5-3pxc-h7rm","UBUNTU-CVE-2026-116585"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.5, decrypting untrusted JWE ciphertext with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an empty ciphertext buffer to CBC-HMAC unpadding. Insufficient validation allows the empty buffer to be indexed, causing a panic and denial of service. Applications that decrypt attacker-controlled ciphertext with one of these content-encryption algorithms are affected. This issue is fixed in version 4.1.5.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Go JOSE: Panic during CBC-HMAC processing","id":"CVE-2026-116585","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"Go JOSE: Panics in JSON parsing","id":"CVE-2026-116586"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.0.5"],"package":"github.com/go-jose/go-jose/v3","purl":null,"source":"GHSA-4w3g-jfj2-cw2q"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.0.5"],"package":"github.com/go-jose/go-jose/v3","purl":"pkg:golang/github.com/go-jose/go-jose/v3","source":"GHSA-4w3g-jfj2-cw2q"},{"ecosystem":"Go","fixed":["4.1.5"],"introduced":["0"],"last_affected":[],"package":"github.com/go-jose/go-jose/v4","purl":null,"source":"GHSA-4w3g-jfj2-cw2q"},{"ecosystem":"Go","fixed":["4.1.5"],"introduced":["0"],"last_affected":[],"package":"github.com/go-jose/go-jose/v4","purl":"pkg:golang/github.com/go-jose/go-jose/v4","source":"GHSA-4w3g-jfj2-cw2q"}],"prev":{"headline":"Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length","id":"CVE-2026-116584"},"products":["go-jose"],"published":"2026-10-26","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-26","vendors":["go-jose"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-116585/"}