CVEBrief

Home / Apache Software Foundation / Apache Dubbo / CVE-2021-25641

CVE-2021-25641: is it exploited, and which versions of Apache Software Foundation Apache Dubbo are affected and fixed?

CVE-2021-25641 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Dubbo. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.apache.dubbo:dubbo from 2.5.0 before 2.7.8 and com.alibaba:dubbo from 2.5.0 before 2.6.9 (GitHub advisory GHSA-v2rg-8cwr-75g8). Fixed in 2.7.8 and 2.6.9 (GitHub advisory GHSA-v2rg-8cwr-75g8). Severity: Critical (9.8, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
org.apache.dubbo:dubbo from 2.5.0 before 2.7.8 and com.alibaba:dubbo from 2.5.0 before 2.6.9
GitHub advisory GHSA-v2rg-8cwr-75g8
Fixed in
2.7.8 and 2.6.9
GitHub advisory GHSA-v2rg-8cwr-75g8
Severity
Critical 9.8
CVSS 3.1 from NVD
Exploit odds (EPSS)
21.6% in 30 days
higher than 98% of CVEs; FIRST, December 2, 2026

What is CVE-2021-25641?

Dubbo Zookeeper does not check serialization id

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 dependency), a remote unauthenticated attacker can tell the Provider to use the weak deserializer, and then proceed to exploit it.

From the CVE record by apache, last updated August 3, 2024, 20:11 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Dubbofrom Apache Dubbo 2.7.x before 2.7.8
from Apache Dubbo 2.6.x before 2.6.9
2.7.8, 2.6.9

As the CVE record by apache states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.dubbo:dubbo>= 2.5.0, < 2.7.82.7.8GHSA-v2rg-8cwr-75g8
Mavencom.alibaba:dubbo>= 2.5.0, < 2.6.92.6.9GHSA-v2rg-8cwr-75g8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 18, 2022. Summary: Deserializer tampering in Apache Dubbo.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachedubbofrom 2.5.0 before 2.6.9application
apachedubbofrom 2.7.0 before 2.7.8application

NVD analysis (status Modified), last modified June 17, 2026, 03:42 UTC.

How severe is CVE-2021-25641?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-25641 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
21.6% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 20, 2021
Published
May 29, 2021, 07:30 UTC
CVE record updated
August 3, 2024, 20:11 UTC by apache
NVD
Modified, last modified June 17, 2026, 03:42 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Dubbo?

Every CVE in Apache Dubbo

Questions about CVE-2021-25641

Is CVE-2021-25641 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 21.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Apache Software Foundation Apache Dubbo are affected by CVE-2021-25641?

org.apache.dubbo:dubbo from 2.5.0 before 2.7.8 and com.alibaba:dubbo from 2.5.0 before 2.6.9, per the GitHub advisory GHSA-v2rg-8cwr-75g8. The tables above give every range the sources list.

Which version fixes CVE-2021-25641?

2.7.8 and 2.6.9, per the GitHub advisory GHSA-v2rg-8cwr-75g8. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-25641?

Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2021-25641?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.