CVE-2025-55039 Details
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.
A vulnerability exists in Apache Spark versions prior to 3.4.4, 3.5.2, and 4.0.0, where an insecure default network encryption cipher is used for RPC communication between nodes. When network encryption is enabled but the cipher is not explicitly configured, Spark defaults to AES in CTR mode, which provides encryption without authentication. This flaw allows a man-in-the-middle attacker to undetectedly modify encrypted RPC traffic by flipping bits in the ciphertext, potentially compromising heartbeat messages or application data and disrupting Spark workflows. The issue arises in Spark's network encryption settings, specifically in the 'spark.network.crypto.cipher' configuration.
Users can mitigate this vulnerability by configuring 'spark.network.crypto.cipher' to 'AES/GCM/NoPadding' to enable authenticated encryption or by enabling SSL encryption by setting 'spark.ssl.enabled' to true, which provides stronger transport security.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/14/11 | CVE | |
| https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-326 | Inadequate Encryption Strength | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache spark | < 3.4.4 >= 3.5.0, < 3.5.2 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | CVE |
| Oct 20, 2025 | Initial Analysis | [email protected] |
| Oct 15, 2025 | CVE Modified | CISA-ADP |
| Oct 15, 2025 | New CVE Received | [email protected] |