{"id":"GHSA-4w3g-jfj2-cw2q","revision":"e6c1b079c20941c6be83a7c804916948","records":[{"revision":"e6c1b079c20941c6be83a7c804916948","observedAt":"2026-10-28T21:56:58.6+00:00","statement":{"source":"osv","id":"GHSA-4w3g-jfj2-cw2q","aliases":["CVE-2026-116585"],"title":"Go JOSE: Panic during CBC-HMAC processing","description":"### Summary\n\nDecrypting a ciphertext with \"A128CBC-HS256\", \"A192CBC-HS384\", or \"A256CBC-HS512\" can result in a panic on untrusted input.\n\nNote this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.\n\n### Details\n\nInsufficient validation of parameters can lead to attempting to index into an empty buffer. See https://github.com/go-jose/go-jose/pull/292.\n\n### Workarounds\n\nIf the application does not require the CBC-HMAC modes for content encryption, and is using github.com/go-jose/go-jose/v4, do not include them in the list of ContentEncryption algorithms passed to ParseEncrypted / ParseEncryptedJSON / ParseEncryptedCompact.\n\n### Impact\n\nDenial of service vulnerability. Any application which decrypts untrusted ciphertexts with the indicated algorithms is affected.\n\n### Acknowledgements\n\nThanks to Joshua Rogers of AISLE Research for reporting this problem.","state":0,"publishedAt":"2026-10-28T21:14:00+00:00","modifiedAt":"2026-10-28T21:30:06.7908633+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-jose/go-jose/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.1.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/go-jose/go-jose/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"3.0.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q","https://nvd.nist.gov/vuln/detail/CVE-2026-116585","https://github.com/go-jose/go-jose/pull/292","https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6","https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54","https://github.com/go-jose/go-jose","https://github.com/go-jose/go-jose/releases/tag/v4.1.5"],"sourceUrl":"https://github.com/advisories/GHSA-4w3g-jfj2-cw2q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4w3g-jfj2-cw2q","identifiers":["GHSA-4w3g-jfj2-cw2q","CVE-2026-116585"]},"retained":false,"historicalAffected":[]}],"coverage":[]}