CVE-2025-70974
fastjson: From CVEorg collector
Exploitation reported by one source. First attested on 2026-06-01 by GCVE · kevintel.
- Published2026-01-09
- Fixed in1.2.48
- WeaknessCWE-829
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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
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.
Timeline
dates in UTC- 2026-01-0907:16CVE publishedNVD
- 2026-06-0110:48Listed as exploited by GCVEGCVE
- 2026-06-0110:48Exploitation first reportedGCVE
Observed activity
isMalicious corpus · updated 2026-11-03 15:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-70974?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-70974?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | < 1.2.48 | 1.2.48 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Alibaba Fastjsonother versions: not affectedAffected
- < 1.2.48fixed in 1.2.48custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-09
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.
Vendor advisories
- CVE-2025-70974 Red Hat Product Security
fastjson: Fastjson: Remote Code Execution via JNDI Injection due to autoType mishandling
Fix
- Update fastjson to 1.2.48
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- GCVEexploitation2026-06-01
- CISA-ADPSSVC decisionpoc2026-01-09
- OpenCVESSVC decisionpoc—
- CNACVSS 3.110known since 2026-10-23
- CNAweakness (CWE)CWE-829known since 2026-10-23
- FIRST EPSSEPSS score0.7 %2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-01-09
Identifiers
- EUVD-2026-1694same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jm7w-5684-pvh8same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- 2026-01-09
- Last Modified
- 2026-07-15
- NVD status
- Deferred
- GitHub Advisory
- GHSA-jm7w-5684-pvh8
Frequently asked questions
What is CVE-2025-70974?
Is CVE-2025-70974 actively exploited?
What is the CVSS score for CVE-2025-70974?
Running fastjson? 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
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jm7w-5684-pvh8
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0