cve.bz

CVE-2025-27144 go-jose go-jose

6.6 mediumEPSS 0.4%Fix available

Medium (6.6) in go-jose go-jose. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-jose/go-jose/v4 4.0.5.

On this page
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.

Severity

CVSS 4.0

6.6 medium
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • github.com/go-jose/go-jose/v4 (Go): fixed in 4.0.5
  • github.com/go-jose/go-jose/v3 (Go): fixed in 3.0.4
  • github.com/go-jose/go-jose (Go): fixed in 3.0.4
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-27144 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27144?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27144?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27144 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
go-jose>= 4.0.0, < 4.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c6gw-w398-hv78Gogithub.com/go-jose/go-jose/v4<4.0.54.0.5
GHSA-c6gw-w398-hv78Gogithub.com/go-jose/go-jose/v3<3.0.43.0.4
GHSA-c6gw-w398-hv78Gogithub.com/go-jose/go-jose<3.0.43.0.4
GO-2025-3485Gogithub.com/go-jose/go-joseall versionsno fix published
GO-2025-3485Gogithub.com/go-jose/go-jose/v3<3.0.43.0.4
GO-2025-3485Gogithub.com/go-jose/go-jose/v4<4.0.54.0.5
GO-2025-3485Gogithub.com/square/go-joseall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14golang-github-go-jose-go-jose4.0.5-1DEBIAN-CVE-2025-27144
Ubuntu24.04:LTS, 25.10, 26.10 and 1 moregolang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2025-27144
Red Hatenterprise_linux:9::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.39.4-1.el9_6RHSA-2025:7389
Red Hatenterprise_linux:9::appstreamosbuild-composer, osbuild-composer-core, osbuild-composer-worker and 5 more0:132.2-3.el9_6RHSA-2025:19594
Red Hatenterprise_linux:9::appstreamskopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.18.1-1.el9_6RHSA-2025:7397
Red Hatenterprise_linux:10.0buildah, buildah-tests, buildah-debuginfo and 2 more2:1.39.4-1.el10_0RHSA-2025:7459
Red Hatenterprise_linux:10.0osbuild-composer, osbuild-composer-core, osbuild-composer-worker and 4 more0:134.1-3.el10_0RHSA-2025:19566
Red Hatenterprise_linux:10.0skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.18.1-1.el10_0RHSA-2025:7467
Red Hatopenshift:4.17::el8podman, podman-tests, podman-docker and 10 more5:5.2.2-4.rhaos4.17.el8RHSA-2025:3061
Red Hatopenshift:4.17::el8skopeo, skopeo-tests2:1.16.1-1.rhaos4.17.el8RHSA-2025:3061
Red Hatopenshift:4.17::el9podman, podman-tests, podman-docker and 6 more5:5.2.2-4.rhaos4.17.el9RHSA-2025:3061
Red Hatopenshift:4.17::el9skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.16.1-1.rhaos4.17.el9RHSA-2025:3061
Red Hatopenshift:4.18::el9podman, podman-tests, podman-docker and 6 more5:5.2.2-6.rhaos4.18.el9RHSA-2025:3068
Red Hatopenshift:4.18::el9skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.16.1-1.rhaos4.18.el9RHSA-2025:3068
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreskopeo1.14.4-150300.11.19.1SUSE-SU-2025:0772-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.43.1SUSE-SU-2025:0775-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.46.1SUSE-SU-2025:1036-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.49.2SUSE-RU-2025:02092-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morebuildah1.35.5-150300.8.36.1SUSE-SU-2025:0813-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morebuildah1.35.5-150300.8.39.1SUSE-SU-2025:1017-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morerekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.41.1SUSE-SU-2025:0786-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.44.1SUSE-SU-2025:1037-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.47.2SUSE-RU-2025:02091-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morebuildah1.35.5-150400.3.42.1SUSE-SU-2025:0812-1
23 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6apptainer1.3.6-150600.4.9.1SUSE-SU-2025:0980-1
openSUSELeap 15.6apptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
openSUSELeap 15.6buildah1.35.5-150500.3.31.1SUSE-SU-2025:0811-1
openSUSELeap 15.6buildah1.35.5-150500.3.34.1SUSE-SU-2025:1018-1
openSUSELeap 15.6cosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
openSUSELeap 15.6grafana10.4.15-150200.3.67.1SUSE-SU-2025:1011-1
openSUSELeap 15.6podman4.9.5-150500.3.37.1SUSE-SU-2025:0785-1
openSUSELeap 15.6podman4.9.5-150500.3.40.1SUSE-SU-2025:1038-1
openSUSELeap 15.6podman4.9.5-150500.3.43.2SUSE-RU-2025:02093-1
openSUSELeap 15.6rekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
openSUSELeap 15.6skopeo1.14.4-150300.11.19.1SUSE-SU-2025:0772-1
openSUSELeap 15.6squashfuse0.5.0-150600.3.2.1SUSE-SU-2026:0439-1
18 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux9buildah, buildah-tests2:1.39.4-1.el9_6ALSA-2025:7389
AlmaLinux9skopeo, skopeo-tests2:1.18.1-1.el9_6ALSA-2025:7397
AlmaLinux10buildah, buildah-tests2:1.39.4-1.el10_0ALSA-2025:7459
AlmaLinux10osbuild-composer, osbuild-composer-core, osbuild-composer-worker134.1-3.el10_0.alma.1ALSA-2025:19566
AlmaLinux10podman, podman-tests, podman-docker and 1 more6:5.4.0-9.el10_0ALSA-2025:7462
AlmaLinux10skopeo, skopeo-tests2:1.18.1-1.el10_0ALSA-2025:7467
Rocky Linux9buildah2:1.39.4-1.el9_6RLSA-2025:7389
Rocky Linux9podman5:5.4.0-9.el9_6RLSA-2025:7391
Rocky Linux9skopeo2:1.18.1-1.el9_6RLSA-2025:7397
Rocky Linux10buildah2:1.39.4-1.el10_0RLSA-2025:7459
Rocky Linux10opentelemetry-collector0:0.107.0-9.el10_0RLSA-2025:7479
Rocky Linux10podman6:5.4.0-9.el10_0RLSA-2025:7462
Rocky Linux10skopeo2:1.18.1-1.el10_0RLSA-2025:7467
Azure Linux2buildahno fix listedAZL-57207
Azure Linux2cert-manager1.11.2-20AZL-57147
Azure Linux2containerized-data-importer1.55.0-23AZL-57180
Azure Linux2cri-o1.22.3-12AZL-57192
Azure Linux2dcos-cli1.2.0-20AZL-57201
Azure Linux2influxdb2.6.1-21AZL-57099
Azure Linux2keda2.4.0-27AZL-57138
Azure Linux2kube-vip-cloud-provider0.0.2-20AZL-57108
Azure Linux2kubernetes1.28.4-15AZL-57183
Azure Linux2moby-containerd1.6.26-10AZL-57171
Azure Linux2moby-containerd-cc1.7.7-11AZL-57198
Azure Linux2packer1.9.5-10AZL-57162
21 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate-impact denial of service flaw was found in Go JOSE, the Go implementation of the JSON Object Signing and Encryption (JOSE) standards, which is shipped in a number of Red Hat offerings including Red Hat OpenShift and related container-based products. When parsing compact JWS or JWE input, Go JOSE used strings.Split(token, ".") to split tokens, which can consume excessive memory when processing maliciously crafted tokens containing a large number of "." characters. A remote attacker with no privileges or required user interaction could submit numerous malformed tokens to an application that passes attacker-controlled input to Go JOSE, causing memory exhaustion and a denial of service that affects only availability. Red Hat rates this issue as moderate impact, consistent with the upstream severity assessment. Fixes are being pursued by the affected product components; some components were determined not to be affected because the vulnerable code is not present or is not in an execute path.

Red Hat's mitigation

As a workaround, applications can pre-validate that payloads being passed to Go JOSE do not contain an excessive number of `.` characters.

ProductPackageStateAdvisory
OADP-1.4-RHEL-9oadp/oadp-mustgather-rhel9:1.4.5-34Fixed 2025-07-18RHSA-2025:11396
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-central-db-rhel8:4.6.4-4Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-collector-rhel8:4.6.4-3Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-collector-slim-rhel8:4.6.4-3Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-main-rhel8:4.6.4-7Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-operator-bundle:4.6.4-7Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-rhel8-operator:4.6.4-4Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-roxctl-rhel8:4.6.4-3Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-scanner-db-rhel8:4.6.4-4Fixed 2025-04-01RHSA-2025:3439
Red Hat Advanced Cluster Security 4.6advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.6.4-4Fixed 2025-04-01RHSA-2025:3439
cert-manager Operator for Red Hat OpenShiftcert-manager-operator-rhel9Affected
Cryostat 4cryostat/cryostat-storage-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-9-rhel9Affected
308 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27144.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON