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

- Severity: Medium 6.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-02-24T22:22:22.863Z
- Modified: 2026-09-10T03:50:22.593Z
- Also known as: GHSA-c6gw-w398-hv78, GO-2025-3485
- Related: CGA-p64v-w3j6-xg5w
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-jose go-jose: >= 4.0.0, < 4.0.5
- github.com/go-jose/go-jose/v4 (Go): before 4.0.5
- github.com/go-jose/go-jose/v3 (Go): before 3.0.4
- github.com/go-jose/go-jose (Go): before 3.0.4; all versions
- github.com/square/go-jose (Go): all versions

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/go-jose/go-jose/security/advisories/GHSA-c6gw-w398-hv78> (advisory, web)
- <https://github.com/go-jose/go-jose/commit/99b346cec4e86d102284642c5dcbe9bb0cacfc22> (fix, web)
- <https://github.com/go-jose/go-jose/releases/tag/v4.0.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27144> (advisory)
- <https://github.com/golang/go/issues/71490> (web)
- <https://github.com/go-jose/go-jose> (package)
- <https://go.dev/issue/71490> (web)

## Sources

- CVE List: [CVE-2025-27144](https://www.cve.org/CVERecord?id=CVE-2025-27144), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-c6gw-w398-hv78](https://github.com/advisories/GHSA-c6gw-w398-hv78), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3485](https://pkg.go.dev/vuln/GO-2025-3485), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-27144](https://nvd.nist.gov/vuln/detail/CVE-2025-27144), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27144 · Whole record: https://cve.day/CVE-2025-27144.json · Rebuilt by cve.day 2026-11-25T22:58:54.270Z
