CVE-2025-55039: apache software foundation apache spark Inadequate Encryption Strength
Vulnerability summary
CVE-2025-55039 is a medium (CVSS 6.5) Inadequate Encryption Strength vulnerability in apache software foundation apache spark. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 13.5% of scored vulnerabilities.
Timeline
- 15-10-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
This issue affects Apache Spark versions before 3.4.4, 3.5.2 and 4.0.0. Apache Spark versions before 4.0.0, 3.5.2 and 3.4.4 use an insecure default network encryption cipher for RPC communication between nodes. When spark.network.crypto.enabled is set to true (it is set to false by default), but spark.network.crypto.cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding), which provides encryption without authentication. This vulnerability allows a man-in-the-middle attacker to modify encrypted RPC traffic undetected by flipping bits in ciphertext, potentially compromising heartbeat messages or application data and affecting the integrity of Spark workflows. To mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or enable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.
CVSS metrics
4 scores · 4 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
0.00 pp
From 0.24% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-326Inadequate Encryption StrengthThe product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.
- CWE-347Improper Verification of Cryptographic SignatureThe product does not verify, or incorrectly verifies, the cryptographic signature for data.
Affected systems
Org.apache.spark2 products
- spark-network-common_2.12< 3.4.4 | ≥ 3.5.0, < 3.5.2
- spark-network-common_2.13≥ 3.5.0, < 3.5.2 | < 3.4.4
Apache1 product
- spark< 3.4.4 | ≥ 3.5.0, < 3.5.2
Apache software foundation1 product
- apache spark≥ 3.5.0, < 3.5.2 | < 3.4.4
PyPI1 product
- pyspark< 3.4.4 | ≥ 3.5.0, < 3.5.2
4 vendors · 5 products
References
10 links- github.com/apache/sparkPACKAGE