# CVE-2025-27144: GO-2025-3485 - DoS in go-jose Parsing in github.com/go-jose/go-jose

Source: https://junglewise.ai/threats/cve-2025-27144-dos-in-go-jose-parsing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-03  
License: CC BY 4.0 with a link back

CVE-2025-27144 · Severity: medium · CVSS 4 · Published 2025-03-03

DoS in go-jose Parsing in github.com/go-jose/go-jose

Technologies: [github.com/go-jose/go-jose/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-go-jose-go-jose-v3), [github.com/go-jose/go-jose/v4 (Go)](https://junglewise.ai/threats/technologies/github-com-go-jose-go-jose-v4), [github.com/square/go-jose (Go)](https://junglewise.ai/threats/technologies/github-com-square-go-jose). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-27144 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-27144 being exploited in the wild.

**How severe is CVE-2025-27144?** Medium severity, with a CVSS score of 4, published 3 March 2025.

**Which products and versions are affected?** github.com/go-jose/go-jose (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=3.0.4; github.com/go-jose/go-jose/v3 (Go) SEMVER:introduced=0,fixed=3.0.4; github.com/go-jose/go-jose/v4 (Go) SEMVER:introduced=0,fixed=4.0.5; github.com/square/go-jose (Go) SEMVER:introduced=0.

**Is there a fix for CVE-2025-27144?** Yes. github.com/go-jose/go-jose (Go): upgrade to 3.0.4 or later; github.com/go-jose/go-jose/v3 (Go): upgrade to 3.0.4 or later; github.com/go-jose/go-jose/v4 (Go): upgrade to 4.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-27144?** Check whether you run github.com/go-jose/go-jose (Go), github.com/go-jose/go-jose/v3 (Go), github.com/go-jose/go-jose/v4 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/go-jose/go-jose (Go): upgrade to 3.0.4 or later

  ```sh
  go get github.com/go-jose/go-jose@v3.0.4
  ```

- github.com/go-jose/go-jose/v3 (Go): upgrade to 3.0.4 or later

  ```sh
  go get github.com/go-jose/go-jose/v3@v3.0.4
  ```

- github.com/go-jose/go-jose/v4 (Go): upgrade to 4.0.5 or later

  ```sh
  go get github.com/go-jose/go-jose/v4@v4.0.5
  ```


## Affected products

- github.com/go-jose/go-jose (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=3.0.4
- github.com/go-jose/go-jose/v3 (Go) SEMVER:introduced=0,fixed=3.0.4
- github.com/go-jose/go-jose/v4 (Go) SEMVER:introduced=0,fixed=4.0.5
- github.com/square/go-jose (Go) SEMVER:introduced=0

## Identifiers

- CVE-2025-27144
- GHSA-c6gw-w398-hv78
- GO-2025-3485

## Related threats

- [Go JOSE RSA parameter validation denial of service](https://junglewise.ai/threats/cve-2026-116587-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE stack overflow in JSON parsing](https://junglewise.ai/threats/cve-2026-116586-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE panic on empty JWE ciphertext](https://junglewise.ai/threats/cve-2026-116585-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE denial of service via panic in JWE decryption](https://junglewise.ai/threats/cve-2026-34986-go-jose-denial-of-service-via-panic-in-jwe-decryption)
- [GO-2024-2631 - Decompression bomb vulnerability in github.com/go-jose/go-jose](https://junglewise.ai/threats/cve-2024-28180-go-jose-vulnerable-to-improper-handling-of-highly-compressed-data)
