Skip to content

CVE-2026-34986 Go JOSE affect by a panic in JWE decryption

HighCVSS 7.5 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.4 and 3.0.5, decrypting a JSON Web Encryption (JWE) object will panic if the alg field indicates a key wrapping algorithm (one ending in KW, with the exception of A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty. The panic happens when cipher.KeyUnwrap() in key_wrap.go attempts to allocate a slice with a zero or negative length based on the length of the encrypted_key. This code path is reachable from ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() followed by Decrypt() on the resulting object. Note that the parse functions take a list of accepted key algorithms. If the accepted key algorithms do not include any key wrapping algorithms, parsing will fail and the application will be unaffected. This panic is also reachable by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes long, but calling this function directly is less common. Panics can lead to denial of service. This vulnerability is fixed in 4.1.4 and 3.0.5.

Upgrade path

683 packages: 56 fixed, 13 partially fixed, 606 with no fix yet.

PackageAffectedFixed inStatus
debian/golang-github-go-jose-go-jose(Debian 13) = 4.0.5-1; = 4.1.3-1; = 4.1.4-1; = 4.1.4-1~bpo13+1 +2 more No fix listed No fix yet
debian/golang-github-go-jose-go-jose.v3(Debian 13) = 3.0.3-6; = 3.0.5-1; All versions No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v1(Debian 12) = 1.1.2-4; All versions No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v1(Debian 13) = 1.1.2-4; All versions No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v1(Debian 14) = 1.1.2-4; All versions No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v2(Debian 12) = 2.6.0-2; = 2.6.3-1; = 2.6.3-2; = 2.6.3-3 +3 more No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v2(Debian 13) = 2.6.3-3; = 2.6.3-4; = 2.6.3-4~exp0; All versions No fix listed No fix yet
debian/golang-gopkg-square-go-jose.v2(Debian 14) = 2.6.3-3; = 2.6.3-4; = 2.6.3-4~exp0; All versions No fix listed No fix yet
redhat ansible automation platform = 2; All versions No fix listed No fix yet
redhat assisted installer All versions No fix listed No fix yet
redhat cert manager All versions No fix listed No fix yet
redhat confidential compute attestation All versions No fix listed No fix yet
redhat connectivity link All versions No fix listed No fix yet
redhat kernel module management All versions No fix listed No fix yet
redhat migration toolkit virtualization All versions No fix listed No fix yet
redhat ocp tools All versions No fix listed No fix yet
redhat openshift cluster manager cli All versions No fix listed No fix yet
redhat openshift lightspeed All versions No fix listed No fix yet
redhat openshift power monitoring All versions No fix listed No fix yet
redhat openshift security profiles operator All versions No fix listed No fix yet
redhat openshift service on aws All versions No fix listed No fix yet
redhat podman desktop All versions No fix listed No fix yet
redhat serverless All versions No fix listed No fix yet
redhat windows machine config All versions No fix listed No fix yet
redhat zero trust workload identity manager = 1; All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-main-rhel8:1777307791(Red Hat advanced_cluster_security 4.8 el8) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-main-rhel8:1777976489(Red Hat advanced_cluster_security 4.10 el8) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-main-rhel8:1777986630(Red Hat advanced_cluster_security 4.9 el8) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-roxctl-rhel8:1777307791(Red Hat advanced_cluster_security 4.8 el8) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-roxctl-rhel8:1777986630(Red Hat advanced_cluster_security 4.9 el8) All versions No fix listed No fix yet

… and 653 more packages.

Affected products

ProductAffected versionsFixed in
go-jose = >= 4.0.0, < 4.1.4 No fix listed
go-jose = < 3.0.5 No fix listed
redhat cryostat < 4.2.0-13 4.2.0-13
redhat enterprise linux < 7:5.8.2-1.el10_2 7:5.8.2-1.el10_2
redhat enterprise linux < 0:0.144.0-2.el10_2 0:0.144.0-2.el10_2
redhat enterprise linux < 0:165.1-2.el10_2 0:165.1-2.el10_2
redhat enterprise linux < 0:52.1-1.el10_2 0:52.1-1.el10_2
redhat enterprise linux < 0:1.1.2-1.el10_2 0:1.1.2-1.el10_2
redhat enterprise linux eus < 2:1.18.1-3.el10_0.1 2:1.18.1-3.el10_0.1
redhat enterprise linux eus < 6:5.4.0-15.el10_0.1 6:5.4.0-15.el10_0.1
redhat enterprise linux eus < 0:0.144.0-2.el10_0 0:0.144.0-2.el10_0
redhat enterprise linux eus < 2:1.39.9-1.el10_0 2:1.39.9-1.el10_0
redhat enterprise linux eus < 0:134.1-9.el10_0 0:134.1-9.el10_0
redhat enterprise linux < 8100020260520103055.afee755d 8100020260520103055.afee755d
redhat enterprise linux < 8100020260701102925.afee755d 8100020260701102925.afee755d
redhat enterprise linux < 0:101.5-1.el8_10 0:101.5-1.el8_10
redhat rhel tus < 8080020260721142025.63b34585 8080020260721142025.63b34585
redhat rhel e4s < 8080020260721142025.63b34585 8080020260721142025.63b34585
redhat enterprise linux < 2:1.41.8-3.el9_7 2:1.41.8-3.el9_7
redhat enterprise linux < 2:1.43.1-1.el9_8 2:1.43.1-1.el9_8
redhat enterprise linux < 6:5.8.2-1.el9_8 6:5.8.2-1.el9_8
redhat enterprise linux < 0:0.144.0-2.el9_8 0:0.144.0-2.el9_8
redhat enterprise linux < 0:165.1-2.el9_8 0:165.1-2.el9_8
redhat enterprise linux < 0:52.1-1.el9_8 0:52.1-1.el9_8
redhat rhel e4s < 2:4.4.1-22.el9_2.11 2:4.4.1-22.el9_2.11
Show 175 more
ProductAffected versionsFixed in
redhat rhel e4s < 2:1.11.4-0.1.el9_2.6 2:1.11.4-0.1.el9_2.6
redhat rhel e4s < 1:1.29.7-1.el9_2.5 1:1.29.7-1.el9_2.5
redhat rhel eus < 0:0.144.0-2.el9_4 0:0.144.0-2.el9_4
redhat rhel e4s < 0:101.3-4.el9_4.2 0:101.3-4.el9_4.2
redhat rhel e4s < 2:1.33.15-1.el9_4.1 2:1.33.15-1.el9_4.1
redhat rhel e4s < 4:4.9.4-20.el9_4.3 4:4.9.4-20.el9_4.3
redhat rhel e4s < 2:1.14.6-1.el9_4 2:1.14.6-1.el9_4
redhat rhel eus < 5:5.4.0-20.el9_6.3 5:5.4.0-20.el9_6.3
redhat rhel eus < 0:0.144.0-2.el9_6 0:0.144.0-2.el9_6
redhat rhel eus < 2:1.39.9-1.el9_6 2:1.39.9-1.el9_6
redhat rhel eus < 2:1.18.1-5.el9_6.1 2:1.18.1-5.el9_6.1
redhat rhel eus < 0:132.2-8.el9_6 0:132.2-8.el9_6
redhat openshift < 0:1.25.5-36.rhaos4.12.git2e7f657.el8 0:1.25.5-36.rhaos4.12.git2e7f657.el8
redhat openshift < 0:1.26.5-32.rhaos4.13.git1088e36.el8 0:1.26.5-32.rhaos4.13.git1088e36.el8
redhat openshift < 0:1.29.13-14.rhaos4.16.git84cfdc6.el8 0:1.29.13-14.rhaos4.16.git84cfdc6.el8
redhat openshift < 0:1.31.13-14.rhaos4.18.gitf2de9ac.el8 0:1.31.13-14.rhaos4.18.gitf2de9ac.el8
redhat openshift < 0:1.32.13-11.rhaos4.19.git089e95c.el9 0:1.32.13-11.rhaos4.19.git089e95c.el9
redhat openshift < 0:1.33.13-5.rhaos4.20.git7ebc848.el9 0:1.33.13-5.rhaos4.20.git7ebc848.el9
redhat openshift < 0:1.34.11-4.rhaos4.21.git358c4b4.el9 0:1.34.11-4.rhaos4.21.git358c4b4.el9
redhat openshift custom metrics autoscaler < 1780101236 1780101236
redhat openshift custom metrics autoscaler < 1780101226 1780101226
redhat openshift custom metrics autoscaler < 1780101239 1780101239
redhat openshift custom metrics autoscaler < 1779953535 1779953535
redhat logging < 1781192909 1781192909
redhat logging < 1784747816 1784747816
redhat logging < 1782412815 1782412815
redhat logging < 1782392961 1782392961
redhat multicluster engine < 1776351169 1776351169
redhat multicluster engine < 1779135478 1779135478
redhat multicluster engine < 1784849867 1784849867
redhat multicluster engine < 1778892370 1778892370
redhat multicluster engine < 1778507267 1778507267
redhat multicluster engine < 1782204403 1782204403
redhat multicluster engine < 1778507253 1778507253
redhat multicluster engine < 1782204381 1782204381
redhat multicluster engine < 1778476004 1778476004
redhat multicluster engine < 1782203505 1782203505
redhat multicluster engine < 1778476002 1778476002
redhat multicluster engine < 1777360597 1777360597
redhat multicluster engine < 1778288655 1778288655
redhat multicluster engine < 1779910504 1779910504
redhat multicluster engine < 1778503377 1778503377
redhat multicluster engine < 1778503196 1778503196
redhat multicluster engine < 1778503297 1778503297
redhat multicluster engine < 1778288646 1778288646
redhat multicluster engine < 1779910129 1779910129
redhat multicluster engine < 1782158798 1782158798
redhat multicluster engine < 1778464111 1778464111
redhat multicluster engine < 1778464072 1778464072
redhat multicluster globalhub < 1779212259 1779212259
redhat multicluster globalhub < 1779579439 1779579439
redhat multicluster globalhub < 1780167118 1780167118
redhat openshift api data protection < 1785177359 1785177359
redhat openshift api data protection < 1779770049 1779770049
redhat openshift api data protection < 1779243793 1779243793
redhat openshift api data protection < 1779770057 1779770057
redhat openshift api data protection < 1779245274 1779245274
redhat acm < 1780204322 1780204322
redhat advanced cluster security < 1777307791 1777307791
redhat advanced cluster security < 1776727747 1776727747
redhat advanced cluster security < 1777986630 1777986630
redhat advanced cluster security < 1777976489 1777976489
redhat rhmt < 1783953372 1783953372
redhat multicluster globalhub < 1778867753 1778867753
redhat openshift ai < 1780069381 1780069381
redhat openshift ai < 1778696221 1778696221
redhat openshift ai < 1778578758 1778578758
redhat openshift < 1788162068 1788162068
redhat openshift < 1778711679 1778711679
redhat openshift < 1782185551 1782185551
redhat openshift < 1787545831 1787545831
redhat openshift < 1778152595 1778152595
redhat openshift < 1781612340 1781612340
redhat openshift < 1787008847 1787008847
redhat openshift < 1779253452 1779253452
redhat openshift < 1781528081 1781528081
redhat openshift < 1786759363 1786759363
redhat openshift < 1786769764 1786769764
redhat openshift < 1778139790 1778139790
redhat openshift < 1779775173 1779775173
redhat openshift < 1779776767 1779776767
redhat openshift < 1779777382 1779777382
redhat openshift < 1779778558 1779778558
redhat openshift < 1779775521 1779775521
redhat openshift < 1779776141 1779776141
redhat openshift < 1780992173 1780992173
redhat openshift < 1780991067 1780991067
redhat openshift < 1781095245 1781095245
redhat openshift < 1781196942 1781196942
redhat openshift < 1785288355 1785288355
redhat openshift < 1778004922 1778004922
redhat openshift < 1779258037 1779258037
redhat openshift < 1779264135 1779264135
redhat openshift < 1779263963 1779263963
redhat openshift < 1779256521 1779256521
redhat openshift < 1779260263 1779260263
redhat openshift < 1779265022 1779265022
redhat openshift < 1779775977 1779775977
redhat openshift < 1780402732 1780402732
redhat openshift < 1780402633 1780402633
redhat openshift < 1780984236 1780984236
redhat openshift < 1781023907 1781023907
redhat openshift < 1781129269 1781129269
redhat openshift < 1784343578 1784343578
redhat openshift < 1786572999 1786572999
redhat openshift < 1781010151 1781010151
redhat openshift < 1780943933 1780943933
redhat openshift < 1782879990 1782879990
redhat openshift data foundation < 1778049594 1778049594
redhat openshift data foundation < 1778049298 1778049298
redhat openshift data foundation < 1778049745 1778049745
redhat openshift data foundation < 1778049753 1778049753
redhat openshift data foundation < 1778050558 1778050558
redhat openshift data foundation < 1778049818 1778049818
redhat openshift data foundation < 1778049878 1778049878
redhat openshift data foundation < 1778049920 1778049920
redhat openshift data foundation < 1778049945 1778049945
redhat openshift data foundation < 1778060364 1778060364
redhat openshift data foundation < 1778050037 1778050037
redhat openshift data foundation < 1778050035 1778050035
redhat openshift data foundation < 1778050048 1778050048
redhat openshift data foundation < 1778050508 1778050508
redhat openshift data foundation < 1778050119 1778050119
redhat openshift data foundation < 1778050290 1778050290
redhat openshift data foundation < 1778059723 1778059723
redhat openshift data foundation < 1778050352 1778050352
redhat openshift data foundation < 1778050482 1778050482
redhat openshift data foundation < 1778045210 1778045210
redhat openshift data foundation < 1783676191 1783676191
redhat openshift data foundation < 1786705347 1786705347
redhat openshift data foundation < 1778044961 1778044961
redhat openshift data foundation < 1783929816 1783929816
redhat openshift data foundation < 1786706101 1786706101
redhat openshift data foundation < 1778045359 1778045359
redhat openshift data foundation < 1784094353 1784094353
redhat openshift data foundation < 1786705558 1786705558
redhat openshift data foundation < 1778045374 1778045374
redhat openshift data foundation < 1784093953 1784093953
redhat openshift data foundation < 1786705646 1786705646
redhat openshift data foundation < 1778045891 1778045891
redhat openshift data foundation < 1784094943 1784094943
redhat openshift data foundation < 1786706138 1786706138
redhat openshift data foundation < 1778045472 1778045472
redhat openshift data foundation < 1783676585 1783676585
redhat openshift data foundation < 1786705741 1786705741
redhat openshift data foundation < 1778045534 1778045534
redhat openshift data foundation < 1783676649 1783676649
redhat openshift data foundation < 1786705777 1786705777
redhat openshift data foundation < 1778045524 1778045524
redhat openshift data foundation < 1783676675 1783676675
redhat openshift data foundation < 1786705802 1786705802
redhat openshift data foundation < 1778045587 1778045587
redhat openshift data foundation < 1784094299 1784094299
redhat openshift data foundation < 1786705938 1786705938
redhat openshift data foundation < 1778046067 1778046067
redhat openshift data foundation < 1784094725 1784094725
redhat openshift data foundation < 1786706577 1786706577
redhat openshift data foundation < 1778045627 1778045627
redhat openshift data foundation < 1783676820 1783676820
redhat openshift data foundation < 1786706125 1786706125
redhat openshift data foundation < 1778045731 1778045731
redhat openshift data foundation < 1783676883 1783676883
redhat openshift data foundation < 1786706177 1786706177
redhat openshift data foundation < 1778045700 1778045700
redhat openshift data foundation < 1783676894 1783676894
redhat openshift data foundation < 1786706188 1786706188
redhat openshift data foundation < 1778046234 1778046234
redhat openshift data foundation < 1784095175 1784095175
redhat openshift data foundation < 1786706679 1786706679
redhat openshift data foundation < 1778045792 1778045792
redhat openshift data foundation < 1783676977 1783676977
redhat openshift data foundation < 1786706357 1786706357
redhat openshift data foundation < 1778045858 1778045858
redhat openshift data foundation < 1784093503 1784093503
redhat openshift data foundation < 1786706612 1786706612

References