CVE-2026-116585

NameCVE-2026-116585
DescriptionGo 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-go-jose-go-jose (PTS)trixie4.0.5-1vulnerable
forky, sid4.1.4-2vulnerable
golang-github-go-jose-go-jose.v3 (PTS)trixie3.0.3-6vulnerable
forky, sid3.0.5-1vulnerable
golang-gopkg-square-go-jose.v1 (PTS)forky, sid, bookworm, trixie1.1.2-4vulnerable
golang-gopkg-square-go-jose.v2 (PTS)bookworm2.6.0-2vulnerable
trixie2.6.3-3vulnerable
forky, sid2.6.3-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-go-jose-go-josesource(unstable)(unfixed)
golang-github-go-jose-go-jose.v3source(unstable)(unfixed)
golang-gopkg-square-go-jose.v1source(unstable)(unfixed)
golang-gopkg-square-go-jose.v2source(unstable)(unfixed)

Notes

[trixie] - golang-github-go-jose-go-jose <no-dsa> (Minor issue)
[trixie] - golang-github-go-jose-go-jose.v3 <no-dsa> (Minor issue)
[trixie] - golang-gopkg-square-go-jose.v2 <no-dsa> (Minor issue)
[trixie] - golang-gopkg-square-go-jose.v1 <no-dsa> (Minor issue)
https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q
https://github.com/go-jose/go-jose/pull/292
https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54 (v4.1.5)

Search for package or bug name: Reporting problems