CVE-2025-30204
CVE-2025-30204 · jwt-go allows excessive memory allocation during header parsing
CVSS 7.5 · High · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- jwtNo fix published
- rclone Alpine 3.22Update to 1.69.3-r0
- rclone Alpine 3.23Update to 1.69.3-r0
- rclone Alpine 3.24Update to 1.69.3-r0
- and 8 more
Check the installed version:
apk list -I -o rcloneAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2.
- Published
- Updated
Fixes in distributions
- RHSA-2026:1536 · Red Hat ceph storage 9.0 el10, Red Hat ceph storage 9.0 el9 ·
- RHSA-2025:7967 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2025:8075 · Red Hat rhel eus 8.8 appstream ·
- RHSA-2025:8267 · Red Hat rhel e4s 9.0 appstream ·
- RHSA-2025:7503 · Red Hat Enterprise Linux 10.0 ·
- RHSA-2025:7475 · Red Hat Enterprise Linux 10.0 ·
- RHSA-2025:7479 · Red Hat Enterprise Linux 10.0 ·
- RHSA-2025:7425 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2025:7407 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2025:7404 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2025:4569 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2025:4669 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2025:4462 · Red Hat rhel eus 9.4 appstream ·
- RHSA-2025:3616 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2025:3618 · Red Hat rhel eus 9.4 appstream ·
- RHSA-2025:3698 · Red Hat rhel eus 9.4 appstream ·
- RHSA-2025:3344 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2025:3411 · Red Hat Enterprise Linux 9 appstream ·
- RHEA-2025:4438 · Red Hat openshift service on aws 1 el8 ·
- openSUSE-SU-2026:12297-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:12300-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:21481-1 · openSUSE Leap 16.0 ·
- RLSA-2025:7967 · Rocky Linux 8 ·
- SUSE-SU-2026:1118-1 · SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- SUSE-SU-2026:0972-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Containers 15 SP7 ·
- openSUSE-SU-2026:20366-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2026:10302-1 · openSUSE Tumbleweed ·
- SUSE-SU-2026:0659-1 · openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Containers 15 SP7, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
- SUSE-SU-2026:0641-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- openSUSE-SU-2026:10255-1 · openSUSE Tumbleweed ·
- SUSE-SU-2026:0592-1 · openSUSE Leap 15.6 ·
- openSUSE-SU-2026:10230-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:10099-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:10100-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15606-1 · openSUSE Tumbleweed ·
- RLSA-2025:7479 · Rocky Linux 10 ·
- openSUSE-SU-2025:15454-1 · openSUSE Tumbleweed ·
- SUSE-SU-2025:02769-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- openSUSE-SU-2025:15418-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15419-1 · openSUSE Tumbleweed ·
- RLSA-2025:3344 · Rocky Linux 9 ·
- RLSA-2025:3411 · Rocky Linux 9 ·
- openSUSE-SU-2025:15307-1 · openSUSE Tumbleweed ·
- ALSA-2025:7967 · AlmaLinux 8 ·
- ALSA-2025:7404 · AlmaLinux 9 ·
- ALSA-2025:7425 · AlmaLinux 9 ·
- ALSA-2025:7475 · AlmaLinux 10 ·
- ALSA-2025:4669 · AlmaLinux 9 ·
- openSUSE-SU-2025:15052-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15054-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15037-1 · openSUSE Tumbleweed ·
- SUSE-SU-2025:1332-1 · openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
- SUSE-SU-2025:1285-1 · openSUSE Leap 15.6 ·
- openSUSE-SU-2025:14989-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14990-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14973-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14954-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14956-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14937-1 · openSUSE Tumbleweed ·
- ALSA-2025:3344 · AlmaLinux 9 ·
Stack: system
Affected products and versions
jwt
- Versions
- >= 3.2.0, < 4.5.2: Affected
- >= 5.0.0-rc.1, < 5.2.2: Affected
No fix published
rclone Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 1.69.3-r0
Update to 1.69.3-r0
rclone Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 1.69.3-r0
Update to 1.69.3-r0
rclone Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 1.69.3-r0
Update to 1.69.3-r0
golang-github-golang-jwt-jwt Debian 12
- Versions
- 4.4.3-1
- 5.0.0+really4.5.0-1
- 5.0.0+really4.5.0-1~exp1
- 5.0.0+really4.5.0-2
- 5.0.0+really4.5.2-1
- 5.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-golang-jwt-jwt Debian 13
- Affected ranges
- ECOSYSTEM: < 5.0.0+really4.5.2-1
Update to 5.0.0+really4.5.2-1
golang-github-golang-jwt-jwt Debian 14
- Affected ranges
- ECOSYSTEM: < 5.0.0+really4.5.2-1
Update to 5.0.0+really4.5.2-1
golang-github-golang-jwt-jwt-v5 Debian 13
- Affected ranges
- ECOSYSTEM: < 5.2.2-1
Update to 5.2.2-1
golang-github-golang-jwt-jwt-v5 Debian 14
- Affected ranges
- ECOSYSTEM: < 5.2.2-1
Update to 5.2.2-1
golang-github-golang-jwt-jwt Ubuntu 22.04 LTS
- Versions
- 4.1.0-1
- 4.1.0-2
- 4.2.0-1
- 4.2.0-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-golang-jwt-jwt Ubuntu 24.04 LTS
- Versions
- 4.4.3-1build1
- 5.0.0+really4.5.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-golang-jwt-jwt-v5 Ubuntu 24.04 LTS
- Versions
- 5.2.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp
- https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3
- https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb
- https://security.netapp.com/advisory/ntap-20250404-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2025-30204