Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-27144

MEDIUM 6.6EPSS 39%

Go JOSE's Parsing Vulnerable to Denial of Service

Also known as GHSA-c6gw-w398-hv78, GO-2025-3485

Mitigation

  • Upgrade github.com/go-jose/go-jose/v4 to 4.0.5 or later.
  • Upgrade github.com/go-jose/go-jose/v3 to 3.0.4 or later.
  • Upgrade github.com/go-jose/go-jose to 3.0.4 or later.

Who should check

  • Projects that depend on Go package github.com/go-jose/go-jose/v4 (< 4.0.5)
  • Projects that depend on Go package github.com/go-jose/go-jose/v3 (< 3.0.4)
  • Projects that depend on Go package github.com/go-jose/go-jose (< 3.0.4)
  • Projects that depend on Go package github.com/square/go-jose
  • Anyone running go-jose >= 4.0.0, < 4.0.5

Vulnerability facts

Affected
github.com/go-jose/go-jose/v4 < 4.0.5; github.com/go-jose/go-jose/v3 < 3.0.4; github.com/go-jose/go-jose < 3.0.4; github.com/square/go-jose
Fixed in
4.0.5, 3.0.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.6 (v4.0, CNA)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:UOpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Unreported
EPSS
0.54% chance of exploitation in 30 days (percentile 39, 2026-11-26)
CWE
CWE-770
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/go-jose/go-jose/v4< 4.0.54.0.5osv
Go github.com/go-jose/go-jose/v3< 3.0.43.0.4osv
Go github.com/go-jose/go-jose< 3.0.43.0.4osv
Go github.com/square/go-jose——osv
go-jose>= 4.0.0, < 4.0.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-27144. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27144.md
Affected: github.com/go-jose/go-jose/v4 < 4.0.5; github.com/go-jose/go-jose/v3 < 3.0.4; github.com/go-jose/go-jose < 3.0.4; github.com/square/go-jose
Fixed in: 4.0.5, 3.0.4

Steps:
1. Search this machine and project for github.com/go-jose/go-jose/v4 (Go), github.com/go-jose/go-jose/v3 (Go), github.com/go-jose/go-jose (Go), github.com/square/go-jose (Go), go-jose: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-27144 being exploited?

There is no confirmed exploitation: CVE-2025-27144 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-27144?

Medium: CVSS 6.6 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-27144?

github.com/go-jose/go-jose/v4 < 4.0.5; github.com/go-jose/go-jose/v3 < 3.0.4; github.com/go-jose/go-jose < 3.0.4; github.com/square/go-jose.

Is there a fix for CVE-2025-27144?

Yes. Fixed in 4.0.5, 3.0.4. Upgrade github.com/go-jose/go-jose/v4 to 4.0.5 or later. Upgrade github.com/go-jose/go-jose/v3 to 3.0.4 or later. Upgrade github.com/go-jose/go-jose to 3.0.4 or later.

How do I check if I'm affected by CVE-2025-27144?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors