CVE-2026-116586

NameCVE-2026-116586
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, parsing attacker-controlled JSON through go-jose allows deeply nested arrays or objects to exceed Go's stack limit. The resulting stack overflow crashes the application and permits denial of service in applications that parse untrusted JSON through go-jose. 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-vvm8-gf78-28g4
https://github.com/go-jose/go-jose/pull/290
https://github.com/go-jose/go-jose/commit/a31af25836222f4c45d366d6e8f9b1049dd9935a (v4.1.5)

Search for package or bug name: Reporting problems