Vulnerability · Published Feb 24, 2025 · Assigned by GitHub_M

CVE-2025-27144Go JOSE's Parsing Vulnerable to Denial of Service

Medium 6.6

In plain English

A medium-severity resource allocation without limits in go-jose from go-jose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.6Medium
Exploit odds (30 days)0.4%top 65.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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. In versions on the 4.x branch prior to version 4.0.5, when parsing compact JWS or JWE input, Go JOSE could use excessive memory. The code used strings.Split(token, ".") to split JWT tokens, which is vulnerable to excessive memory consumption when processing maliciously crafted tokens with a large number of `.` characters. An attacker could exploit this by sending numerous malformed tokens, leading to memory exhaustion and a Denial of Service. Version 4.0.5 fixes this issue. As a workaround, applications could pre-validate that payloads passed to Go JOSE do not contain an excessive number of `.` characters.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10buildah2:1.39.4-1.el10_0ALSA-2025:7459
AlmaLinux:9buildah2:1.39.4-1.el9_6ALSA-2025:7389
AlmaLinux:10buildah-tests2:1.39.4-1.el10_0ALSA-2025:7459
AlmaLinux:9buildah-tests2:1.39.4-1.el9_6ALSA-2025:7389
AlmaLinux:10osbuild-composer134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux:10osbuild-composer-core134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux:10osbuild-composer-worker134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux:10podman6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux:10podman-docker6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux:10podman-remote6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux:10podman-tests6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux:10skopeo2:1.18.1-1.el10_0ALSA-2025:7467
AlmaLinux:9skopeo2:1.18.1-1.el9_6ALSA-2025:7397
AlmaLinux:10skopeo-tests2:1.18.1-1.el10_0ALSA-2025:7467
AlmaLinux:9skopeo-tests2:1.18.1-1.el9_6ALSA-2025:7397
Debian:13golang-github-go-jose-go-jose4.0.5-1DEBIAN-CVE-2025-27144
Debian:14golang-github-go-jose-go-jose4.0.5-1DEBIAN-CVE-2025-27144
Gogithub.com/go-jose/go-joseno fix listedGO-2025-3485
Gogithub.com/go-jose/go-jose3.0.4GHSA-c6gw-w398-hv78
Gogithub.com/go-jose/go-jose/v33.0.4GO-2025-3485
Gogithub.com/go-jose/go-jose/v33.0.4GHSA-c6gw-w398-hv78
Gogithub.com/go-jose/go-jose/v44.0.5GO-2025-3485
Gogithub.com/go-jose/go-jose/v44.0.5GHSA-c6gw-w398-hv78
Gogithub.com/square/go-joseno fix listedGO-2025-3485
Rocky Linux:10buildah2:1.39.4-1.el10_0RLSA-2025:7459
Rocky Linux:9buildah2:1.39.4-1.el9_6RLSA-2025:7389
Rocky Linux:10opentelemetry-collector0:0.107.0-9.el10_0RLSA-2025:7479
Rocky Linux:10podman6:5.4.0-9.el10_0RLSA-2025:7462
Rocky Linux:9podman5:5.4.0-9.el9_6RLSA-2025:7391
Rocky Linux:10skopeo2:1.18.1-1.el10_0RLSA-2025:7467
Rocky Linux:9skopeo2:1.18.1-1.el9_6RLSA-2025:7397
Ubuntu:24.04:LTSgolang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2025-27144
Ubuntu:25.10golang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2025-27144
Ubuntu:26.10golang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2025-27144

Affected products (as reported)

VendorProductVersions
go-jose go-jose >= 4.0.0, < 4.0.5

Weakness: CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

References