CVEfocus › CVE database › CVE-2025-27144

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

CVSS 6.6 MediumEPSS 0.5% (higher than 39% of CVEs)Published 2025-02-24Updated 2025-02-25Assigner: GitHub_M

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.

CWE-770

What to do

Fixed builds are available from AlmaLinux, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Go, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

52Fixed
4Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-go-jose-go-joseFix pendingUBUNTU-CVE-2025-27144
Ubuntu 26.04golang-github-go-jose-go-joseFix pendingUBUNTU-CVE-2025-27144
Ubuntu 25.10golang-github-go-jose-go-joseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-27144
Ubuntu 24.04golang-github-go-jose-go-joseUnder investigationUBUNTU-CVE-2025-27144
Debian 14golang-github-go-jose-go-joseFixed4.0.5-1DEBIAN-CVE-2025-27144
Debian 13golang-github-go-jose-go-joseFixed4.0.5-1DEBIAN-CVE-2025-27144
Red Hat Enterprise Linux 10bootc-image-builderFix pending
Affected
Red Hat Enterprise Linux 10buildahFixed2:1.39.4-1.el10_0RHSA-2025:7459
Red Hat Enterprise Linux 10buildah-testsFixed2:1.39.4-1.el10_0RHSA-2025:7459
Red Hat Enterprise Linux 10opentelemetry-collectorFixed0:0.107.0-9.el10_0RHSA-2025:7479
Red Hat Enterprise Linux 10osbuild-composerFixed0:134.1-3.el10_0RHSA-2025:19566
Red Hat Enterprise Linux 10osbuild-composer-coreFixed0:134.1-3.el10_0RHSA-2025:19566
Red Hat Enterprise Linux 10osbuild-composer-workerFixed0:134.1-3.el10_0RHSA-2025:19566
Red Hat Enterprise Linux 10podmanFixed6:5.4.0-9.el10_0RHSA-2025:7462
Red Hat Enterprise Linux 10podman-dockerFixed6:5.4.0-9.el10_0RHSA-2025:7462
Red Hat Enterprise Linux 10podman-remoteFixed6:5.4.0-9.el10_0RHSA-2025:7462
Red Hat Enterprise Linux 10podman-testsFixed6:5.4.0-9.el10_0RHSA-2025:7462
Red Hat Enterprise Linux 10skopeoFixed2:1.18.1-1.el10_0RHSA-2025:7467
Red Hat Enterprise Linux 10skopeo-testsFixed2:1.18.1-1.el10_0RHSA-2025:7467
Red Hat Enterprise Linux 9buildahFixed2:1.39.4-1.el9_6RHSA-2025:7389
Red Hat Enterprise Linux 9buildah-testsFixed2:1.39.4-1.el9_6RHSA-2025:7389
Red Hat Enterprise Linux 9opentelemetry-collectorFixed0:0.107.0-8.el9_6RHSA-2025:3335
Red Hat Enterprise Linux 9osbuild-composerFixed0:132.2-3.el9_6RHSA-2025:19594
Red Hat Enterprise Linux 9osbuild-composer-coreFixed0:132.2-3.el9_6RHSA-2025:19594
Red Hat Enterprise Linux 9osbuild-composer-workerFixed0:132.2-3.el9_6RHSA-2025:19594
Red Hat Enterprise Linux 9podmanFixed5:5.4.0-9.el9_6RHSA-2025:7391
Red Hat Enterprise Linux 9podman-dockerFixed5:5.4.0-9.el9_6RHSA-2025:7391
Red Hat Enterprise Linux 9podman-pluginsFixed5:5.4.0-9.el9_6RHSA-2025:7391
Red Hat Enterprise Linux 9podman-remoteFixed5:5.4.0-9.el9_6RHSA-2025:7391
Red Hat Enterprise Linux 9podman-testsFixed5:5.4.0-9.el9_6RHSA-2025:7391
Red Hat Enterprise Linux 9skopeoFixed2:1.18.1-1.el9_6RHSA-2025:7397
Red Hat Enterprise Linux 9skopeo-testsFixed2:1.18.1-1.el9_6RHSA-2025:7397
AlmaLinux 10buildahFixed2:1.39.4-1.el10_0ALSA-2025:7459
AlmaLinux 10buildah-testsFixed2:1.39.4-1.el10_0ALSA-2025:7459
AlmaLinux 10osbuild-composerFixed134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux 10osbuild-composer-coreFixed134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux 10osbuild-composer-workerFixed134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux 10podmanFixed6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux 10podman-dockerFixed6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux 10podman-remoteFixed6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux 10podman-testsFixed6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux 10skopeoFixed2:1.18.1-1.el10_0ALSA-2025:7467
AlmaLinux 10skopeo-testsFixed2:1.18.1-1.el10_0ALSA-2025:7467
AlmaLinux 9buildahFixed2:1.39.4-1.el9_6ALSA-2025:7389
AlmaLinux 9buildah-testsFixed2:1.39.4-1.el9_6ALSA-2025:7389
AlmaLinux 9skopeoFixed2:1.18.1-1.el9_6ALSA-2025:7397
AlmaLinux 9skopeo-testsFixed2:1.18.1-1.el9_6ALSA-2025:7397
Rocky Linux 10buildahFixed2:1.39.4-1.el10_0RLSA-2025:7459
Rocky Linux 10opentelemetry-collectorFixed0:0.107.0-9.el10_0RLSA-2025:7479
Rocky Linux 10podmanFixed6:5.4.0-9.el10_0RLSA-2025:7462
Rocky Linux 10skopeoFixed2:1.18.1-1.el10_0RLSA-2025:7467
Rocky Linux 9buildahFixed2:1.39.4-1.el9_6RLSA-2025:7389
Rocky Linux 9podmanFixed5:5.4.0-9.el9_6RLSA-2025:7391
Rocky Linux 9skopeoFixed2:1.18.1-1.el9_6RLSA-2025:7397
Go librarygithub.com/go-jose/go-joseFixed3.0.4GO-2025-3485
Go librarygithub.com/go-jose/go-jose/v3Fixed3.0.4GO-2025-3485
Go librarygithub.com/go-jose/go-jose/v4Fixed4.0.5GHSA-c6gw-w398-hv78
Go librarygithub.com/square/go-joseFix pendingGO-2025-3485

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.