Skip to main content
No exploitation reportedFix available

CVE-2025-30204

No exploitation reported by the sources we read.

  • Published2025-03-21
  • WeaknessCWE-405

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2025-03-2122:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-30204?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-30204?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
golang-jwt/jwt
BranchAffectedFixed in
—all versionsno fix published
3.2≥ 3.2.0, ≤ 3.2.2no fix published
golang-jwt/jwt
BranchAffectedFixed in
4.5< 4.5.24.5.2
golang-jwt/jwt
BranchAffectedFixed in
5.x≥ 5.0.0-rc.1, < 5.2.25.2.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • grafanaAlmaLinux:10all versions · fixed in 10.2.6-15.el10_0and 1 other package
  • grafanaAlmaLinux:9all versions · fixed in 10.2.6-11.el9_6and 1 other package
  • grafanaAlmaLinux:9all versions · fixed in 10.2.6-9.el9_5and 1 other package
  • osbuild-composerAlmaLinux:9all versions · fixed in 118.2-1.el9_5.alma.1and 2 other packages
  • osbuild-composerAlmaLinux:9all versions · fixed in 132.2-1.el9_6.alma.1and 2 other packages
  • osbuild-composerAlmaLinux:8all versions · fixed in 101-3.el8_10.alma.1and 2 other packages

Vendor advisories

  • CVE-2025-30204 Red Hat Product Security3,866 products fixed · 70 known affected

    golang-jwt/jwt: jwt-go allows excessive memory allocation during header parsing

    rhai-tech-preview/assisted-installer-agent-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · rhai-tech-preview/assisted-installer-reporter-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · rhai-tech-preview/assisted-installer-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · +67 more

  • RHSA-2026:67858 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.69 bug fix and security update

  • RHSA-2026:67936 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.16.71 bug fix and security update

  • RHSA-2026:59579 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: multicluster engine for Kubernetes v2.6.14 security update

  • RHSA-2026:59558 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.10 security update

  • RHSA-2026:3718 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.15.4

103 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2026:67858 · 2 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  2. Vendor fix Red Hat Product Security RHSA-2026:67936 · 2 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  3. Vendor fix Red Hat Product Security RHSA-2026:59579 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.11/html/clusters/cluster_mce_overview#mce-install-intro
  4. Vendor fix Red Hat Product Security RHSA-2026:59558 · 8 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.13/html/clusters/cluster_mce_overview#mce-install-intro
  5. Vendor fix Red Hat Product Security RHSA-2026:3718 · 4 productsRed Hat OpenShift Pipelines is a cloud-native, continuous integration and continuous delivery (CI/CD) solution based on Kubernetes resources. It uses Tekton building blocks to automate deployments across multiple platforms by abstracting away the underlying implementation details. Tekton introduces…
  6. Vendor fix Red Hat Product Security RHSA-2026:2172 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/updating_openshift_data_foundation/updating-ocs-…

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2025-03-24
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-405read 2026-10-23
  • FIRST EPSSEPSS score0.8 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2025-03-21
Last Modified
2026-06-17
NVD status
Deferred

Frequently asked questions

What is CVE-2025-30204?

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.

Is CVE-2025-30204 actively exploited?

Active exploitation of CVE-2025-30204 has not been confirmed. Its EPSS score was 0.8% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-30204?

CVE-2025-30204 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running golang-jwt/jwt? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month