CVE-2025-27144
CVE-2025-27144 · Go JOSE's Parsing Vulnerable to Denial of Service
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.6 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
go-jose
- Versions
- >= 4.0.0, < 4.0.5: Affected
No fix published
golang-github-go-jose-go-jose Debian:13
- Affected ranges
- ECOSYSTEM: < 4.0.5-1
Update to 4.0.5-1
golang-github-go-jose-go-jose Debian:14
- Affected ranges
- ECOSYSTEM: < 4.0.5-1
Update to 4.0.5-1
golang-github-go-jose-go-jose Ubuntu:24.04:LTS
- Versions
- 3.0.1-1
- 3.0.1-2
- 4.0.1-4
- 4.0.1-4ubuntu0.1
- 4.0.1-4ubuntu0.2
- 4.0.1-4ubuntu0.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:25.10
- Versions
- 4.0.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:26.10
- Versions
- 4.0.5-1build1
- 4.1.4-1
- 4.1.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:Pro:26.04:LTS
- Versions
- 4.0.5-1
- 4.0.5-1build1
- 4.0.5-1ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published