CVE-2025-27144Go JOSE's Parsing Vulnerable to Denial of Service
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-jose-go-jose | Fix pending | UBUNTU-CVE-2025-27144 | |
| Ubuntu 26.04 | golang-github-go-jose-go-jose | Fix pending | UBUNTU-CVE-2025-27144 | |
| Ubuntu 25.10 | golang-github-go-jose-go-jose | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-27144 | |
| Ubuntu 24.04 | golang-github-go-jose-go-jose | Under investigation | UBUNTU-CVE-2025-27144 | |
| Debian 14 | golang-github-go-jose-go-jose | Fixed | 4.0.5-1 | DEBIAN-CVE-2025-27144 |
| Debian 13 | golang-github-go-jose-go-jose | Fixed | 4.0.5-1 | DEBIAN-CVE-2025-27144 |
| Red Hat Enterprise Linux 10 | bootc-image-builder | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | buildah | Fixed | 2:1.39.4-1.el10_0 | RHSA-2025:7459 |
| Red Hat Enterprise Linux 10 | buildah-tests | Fixed | 2:1.39.4-1.el10_0 | RHSA-2025:7459 |
| Red Hat Enterprise Linux 10 | opentelemetry-collector | Fixed | 0:0.107.0-9.el10_0 | RHSA-2025:7479 |
| Red Hat Enterprise Linux 10 | osbuild-composer | Fixed | 0:134.1-3.el10_0 | RHSA-2025:19566 |
| Red Hat Enterprise Linux 10 | osbuild-composer-core | Fixed | 0:134.1-3.el10_0 | RHSA-2025:19566 |
| Red Hat Enterprise Linux 10 | osbuild-composer-worker | Fixed | 0:134.1-3.el10_0 | RHSA-2025:19566 |
| Red Hat Enterprise Linux 10 | podman | Fixed | 6:5.4.0-9.el10_0 | RHSA-2025:7462 |
| Red Hat Enterprise Linux 10 | podman-docker | Fixed | 6:5.4.0-9.el10_0 | RHSA-2025:7462 |
| Red Hat Enterprise Linux 10 | podman-remote | Fixed | 6:5.4.0-9.el10_0 | RHSA-2025:7462 |
| Red Hat Enterprise Linux 10 | podman-tests | Fixed | 6:5.4.0-9.el10_0 | RHSA-2025:7462 |
| Red Hat Enterprise Linux 10 | skopeo | Fixed | 2:1.18.1-1.el10_0 | RHSA-2025:7467 |
| Red Hat Enterprise Linux 10 | skopeo-tests | Fixed | 2:1.18.1-1.el10_0 | RHSA-2025:7467 |
| Red Hat Enterprise Linux 9 | buildah | Fixed | 2:1.39.4-1.el9_6 | RHSA-2025:7389 |
| Red Hat Enterprise Linux 9 | buildah-tests | Fixed | 2:1.39.4-1.el9_6 | RHSA-2025:7389 |
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Fixed | 0:0.107.0-8.el9_6 | RHSA-2025:3335 |
| Red Hat Enterprise Linux 9 | osbuild-composer | Fixed | 0:132.2-3.el9_6 | RHSA-2025:19594 |
| Red Hat Enterprise Linux 9 | osbuild-composer-core | Fixed | 0:132.2-3.el9_6 | RHSA-2025:19594 |
| Red Hat Enterprise Linux 9 | osbuild-composer-worker | Fixed | 0:132.2-3.el9_6 | RHSA-2025:19594 |
| Red Hat Enterprise Linux 9 | podman | Fixed | 5:5.4.0-9.el9_6 | RHSA-2025:7391 |
| Red Hat Enterprise Linux 9 | podman-docker | Fixed | 5:5.4.0-9.el9_6 | RHSA-2025:7391 |
| Red Hat Enterprise Linux 9 | podman-plugins | Fixed | 5:5.4.0-9.el9_6 | RHSA-2025:7391 |
| Red Hat Enterprise Linux 9 | podman-remote | Fixed | 5:5.4.0-9.el9_6 | RHSA-2025:7391 |
| Red Hat Enterprise Linux 9 | podman-tests | Fixed | 5:5.4.0-9.el9_6 | RHSA-2025:7391 |
| Red Hat Enterprise Linux 9 | skopeo | Fixed | 2:1.18.1-1.el9_6 | RHSA-2025:7397 |
| Red Hat Enterprise Linux 9 | skopeo-tests | Fixed | 2:1.18.1-1.el9_6 | RHSA-2025:7397 |
| AlmaLinux 10 | buildah | Fixed | 2:1.39.4-1.el10_0 | ALSA-2025:7459 |
| AlmaLinux 10 | buildah-tests | Fixed | 2:1.39.4-1.el10_0 | ALSA-2025:7459 |
| AlmaLinux 10 | osbuild-composer | Fixed | 134.1-3.el10_0.alma.1 | ALSA-2025:19566 |
| AlmaLinux 10 | osbuild-composer-core | Fixed | 134.1-3.el10_0.alma.1 | ALSA-2025:19566 |
| AlmaLinux 10 | osbuild-composer-worker | Fixed | 134.1-3.el10_0.alma.1 | ALSA-2025:19566 |
| AlmaLinux 10 | podman | Fixed | 6:5.4.0-9.el10_0 | ALSA-2025:7462 |
| AlmaLinux 10 | podman-docker | Fixed | 6:5.4.0-9.el10_0 | ALSA-2025:7462 |
| AlmaLinux 10 | podman-remote | Fixed | 6:5.4.0-9.el10_0 | ALSA-2025:7462 |
| AlmaLinux 10 | podman-tests | Fixed | 6:5.4.0-9.el10_0 | ALSA-2025:7462 |
| AlmaLinux 10 | skopeo | Fixed | 2:1.18.1-1.el10_0 | ALSA-2025:7467 |
| AlmaLinux 10 | skopeo-tests | Fixed | 2:1.18.1-1.el10_0 | ALSA-2025:7467 |
| AlmaLinux 9 | buildah | Fixed | 2:1.39.4-1.el9_6 | ALSA-2025:7389 |
| AlmaLinux 9 | buildah-tests | Fixed | 2:1.39.4-1.el9_6 | ALSA-2025:7389 |
| AlmaLinux 9 | skopeo | Fixed | 2:1.18.1-1.el9_6 | ALSA-2025:7397 |
| AlmaLinux 9 | skopeo-tests | Fixed | 2:1.18.1-1.el9_6 | ALSA-2025:7397 |
| Rocky Linux 10 | buildah | Fixed | 2:1.39.4-1.el10_0 | RLSA-2025:7459 |
| Rocky Linux 10 | opentelemetry-collector | Fixed | 0:0.107.0-9.el10_0 | RLSA-2025:7479 |
| Rocky Linux 10 | podman | Fixed | 6:5.4.0-9.el10_0 | RLSA-2025:7462 |
| Rocky Linux 10 | skopeo | Fixed | 2:1.18.1-1.el10_0 | RLSA-2025:7467 |
| Rocky Linux 9 | buildah | Fixed | 2:1.39.4-1.el9_6 | RLSA-2025:7389 |
| Rocky Linux 9 | podman | Fixed | 5:5.4.0-9.el9_6 | RLSA-2025:7391 |
| Rocky Linux 9 | skopeo | Fixed | 2:1.18.1-1.el9_6 | RLSA-2025:7397 |
| Go library | github.com/go-jose/go-jose | Fixed | 3.0.4 | GO-2025-3485 |
| Go library | github.com/go-jose/go-jose/v3 | Fixed | 3.0.4 | GO-2025-3485 |
| Go library | github.com/go-jose/go-jose/v4 | Fixed | 4.0.5 | GHSA-c6gw-w398-hv78 |
| Go library | github.com/square/go-jose | Fix pending | GO-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.
- go-jose: affected: >= 4.0.0, < 4.0.5
References
- https://github.com/go-jose/go-jose/security/advisories/GHSA-c6gw-w398-hv78
- https://github.com/go-jose/go-jose/commit/99b346cec4e86d102284642c5dcbe9bb0cacfc22
- https://github.com/go-jose/go-jose/releases/tag/v4.0.5
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.