CVE-2021-25641: Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is wo
CVE-2021-25641 is a critical-severity flaw (CVSS 9.8) affecting dubbo. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is working on. But for Dubbo versions before 2.7.8 or 2.6.9, an attacker can choose which serialization id the Provider will use by tampering with the byte preamble flags, aka, not following the server's instruction. This means that if a weak deserializer such as the Kryo and FST are somehow in code scope (e.g. if Kryo is somehow a part of a d
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 21.2% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2021-06-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Dor-Tumarkin/CVE-2021-25641-Proof-of-Concept (53 stars)
- GitHub PoC: l0n3rs/CVE-2021-25641 (4 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-25641?
dubbo: upgrade to 2.6.9, 2.7.8. Exact commands for each OS are on this page.
Is CVE-2021-25641 being exploited?
CVE-2021-25641 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-25641 affect?
CVE-2021-25641 affects dubbo. Severity is critical (CVSS 9.8). Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is working on. But for Dubbo versions before 2.7.8 or 2.6.9, an attacker can choose which serialization id the Provider will use by tam
How urgent is CVE-2021-25641?
Priority 74/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2023-46279 CRITICAL 9.8 DOWNGRADE Deserialization of Untrusted Data vulnerability in Apache Dubbo.This issue only affects Apache Dubbo 3.1.5. U
- CVE-2023-29234 CRITICAL 9.8 UPGRADE A deserialization vulnerability existed when decode a malicious package.This issue affects Apache Dubbo: from
- CVE-2023-23638 MEDIUM 5.0 UPGRADE A deserialization vulnerability existed when dubbo generic invoke, which could lead to malicious code executio
- CVE-2022-39198 CRITICAL 9.8 UPGRADE A deserialization vulnerability existed in dubbo hessian-lite 3.2.12 and its earlier versions, which could lea
- CVE-2022-24969 MEDIUM 6.1 UPGRADE bypass CVE-2021-25640 > In Apache Dubbo prior to 2.6.12 and 2.7.15, the usage of parseURL method will lead to