cve.bz

CVE-2025-70974 alibaba fastjson

10.0 criticalEPSS 0.7%Fix available

Critical (10.0) in alibaba fastjson. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in com.alibaba:fastjson 1.2.48.

On this page
Fastjson before 1.2.48 mishandles autoType because, when an @type key is in a JSON document, and the value of that key is the name of a Java class, there may be calls to certain public methods of that class. Depending on the behavior of those methods, there may be JNDI injection with an attacker-supplied payload located elsewhere in that JSON document. This was exploited in the wild in 2023 through 2025. NOTE: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-01-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • com.alibaba:fastjson (Maven): fixed in 1.2.48

Ask an AI about this CVE

Show the promptExplain CVE-2025-70974 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-70974?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-70974?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-70974 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Alibaba Fastjsonbefore 1.2.48

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jm7w-5684-pvh8Mavencom.alibaba:fastjson<1.2.481.2.48

Red Hat

Red Hat rates this Critical.

Red Hat's statement

In the Red Hat context, this vulnerability is rated Not Affected because the vulnerable code is not present in Red Hat products.

ProductPackageStateAdvisory
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-must-gather-rhel9Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-operator-bundleNot affected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorNot affected
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/proxyv2-rhel9Not affected
OpenShift Service Mesh 2openshift-service-mesh/ratelimit-rhel8Not affected
Red Hat build of Apache Camel for Spring Boot 4fastjsonNot affected
Red Hat build of Debezium 2fastjsonNot affected
Red Hat build of Debezium 3fastjsonNot affected
Red Hat Fuse 7fastjsonNot affected
Red Hat JBoss Enterprise Application Platform 8fastjsonNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackfastjsonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-70974.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON