Medium severity · published Oct 15, 2025
CVE-2025-55039
Apache Spark, Apache Spark: RPC encryption defaults to unauthenticated AES-CTR mode, enabling man-in-the-middle ciphertext modification attacks
6.5
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Apache Spark · Apache Software Foundation
3.5.0 before 3.5.2; before 3.4.4; 3.5.0 before 3.5.2; before 3.4.4 · source: vendor
SP
Spark · Apache
before 3.4.4; 3.5.0 before 3.5.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-55039
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-55039
Mailing List
https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq
www.openwall.com
http://www.openwall.com/lists/oss-security/2025/10/14/11
More from Apache Spark
8.8
CVE-2022-33891
Apache Spark shell command injection vulnerability via Spark UI
8.8
CVE-2025-54920
Apache Spark: Spark History Server Code Execution Vulnerability
6.1
CVE-2026-32773
Apache Spark: XSS Vulnerability in Spark Web 3.5.4
5.9
CVE-2024-23945
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
5.5
CVE-2018-11760
When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application
