com.alibaba:fastjson vulnerabilities

Fastjson is a JSON processor (JSON parser + JSON generator) written in Java

Registry
Maven
Latest
2.0.66
License
Apache 2

4 known advisories

The latest version, 2.0.66, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=com.alibaba:fastjson -DdepVersion=2.0.66 -DforceVersion=true

Is your project on an affected com.alibaba:fastjson?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for com.alibaba:fastjson

  • CriticalCVE-2026-16723GHSA-crf3-v9rr-v7hj23 Jul 2026

    fastjson has a remote code execution (RCE) vulnerability

    Affected
    >=1.2.68 <=1.2.83
    Fixed in
    No fix released
  • CriticalCVE-2025-70974GHSA-jm7w-5684-pvh89 Jan 2026

    FASTJSON Includes Functionality from Untrusted Control Sphere

    Affected
    <1.2.48
    Fixed in
    1.2.48
  • HighCVE-2022-25845GHSA-pv7h-hx5h-mgfj11 Jun 2022

    Unsafe deserialization in com.alibaba:fastjson

    Affected
    >=1.2.25 <1.2.83
    Fixed in
    1.2.83
  • CriticalCVE-2017-18349GHSA-xjrr-xv9m-4pw524 Oct 2018

    Improper Input Validation in alilibaba:fastjson

    Affected
    <1.2.31
    Fixed in
    1.2.31

Is your com.alibaba:fastjson version vulnerable?

Which of your client projects still run an old com.alibaba:fastjson?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.