Home / go-jose / go-jose / CVE-2024-28180
CVE-2024-28180: is it exploited, and which versions of go-jose are affected and fixed?
CVE-2024-28180 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in go-jose. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: github.com/go-jose/go-jose/v4 before 4.0.1, github.com/go-jose/go-jose/v3 before 3.0.3, gopkg.in/go-jose/go-jose.v2 before 2.6.3 and 1 more (GitHub advisory GHSA-c5q2-7r4c-mv6g). Fixed in 4.0.1, 3.0.3 and 2.6.3 (GitHub advisory GHSA-c5q2-7r4c-mv6g). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-28180?
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| go-jose | go-jose | < 4.0.1 < 3.0.3 < 2.6.3 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/go-jose/go-jose/v4 | < 4.0.1 | 4.0.1 | GHSA-c5q2-7r4c-mv6g |
| Go | github.com/go-jose/go-jose/v3 | < 3.0.3 | 3.0.3 | GHSA-c5q2-7r4c-mv6g |
| Go | gopkg.in/go-jose/go-jose.v2 | < 2.6.3 | 2.6.3 | GHSA-c5q2-7r4c-mv6g |
| Go | gopkg.in/square/go-jose.v2 | <= 2.6.0 | none listed | GHSA-c5q2-7r4c-mv6g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| go-jose project | go-jose | from 2.0.0 before 2.6.3 | application |
| go-jose project | go-jose | from 3.0.0 before 3.0.3 | application |
| go-jose project | go-jose | from 4.0.0 before 4.0.1 | application |
| fedoraproject | fedora | from 38 through 40 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:21 UTC.
How severe is CVE-2024-28180?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-28180 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 11, 2024)
- EPSS
- 1.96% probability of exploitation activity in the next 30 days, percentile 81.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Where are the vendor advisories and references?
- https://github.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6g x_refsource_CONFIRM
- https://github.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298 x_refsource_MISC
- https://github.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28a x_refsource_MISC
- https://github.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IJ6LAJJ2FTA2JVVOACCV5RZTOIZLXUNJ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JNPMXL36YGS3GQEVI3Q5HKHJ7YAAQXL5/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MSOMHDKRPU3A2JEMRODT2IREDFBLVPGS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GD2GSBQTBLYADASUBHHZV2CZPTSLIPQJ/
When was it published, and where is the official record?
- Reserved
- March 6, 2024
- Published
- March 9, 2024, 00:54 UTC
- CVE record updated
- February 13, 2025, 17:47 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:21 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect go-jose?
- Oct 26, 2026CVE-2026-116587 go-jose: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-116586 go-jose: uncontrolled recursion
- Oct 26, 2026CVE-2026-116585 go-jose: improper array index validation
- Apr 6, 2026CVE-2026-34986 go-jose: uncaught exception (crash)
- Feb 24, 2025CVE-2025-27144 go-jose: denial of service (resources allocated without limits)
Questions about CVE-2024-28180
Is CVE-2024-28180 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.96% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of go-jose are affected by CVE-2024-28180?
github.com/go-jose/go-jose/v4 before 4.0.1, github.com/go-jose/go-jose/v3 before 3.0.3, gopkg.in/go-jose/go-jose.v2 before 2.6.3 and gopkg.in/square/go-jose.v2 through 2.6.0, per the GitHub advisory GHSA-c5q2-7r4c-mv6g. The tables above give every range the sources list.
Which version fixes CVE-2024-28180?
4.0.1, 3.0.3 and 2.6.3, per the GitHub advisory GHSA-c5q2-7r4c-mv6g. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-28180?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-28180?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.