Vulnerability in Apache Spark with Insecure Default Network Encryption
CVE-2025-55039
Key facts: CVE-2025-55039 is a medium severity (CVSS 6.5) vulnerability in Apache Spark. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.2%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Spark 3.5.2, 3.4.4.
What is CVE-2025-55039?
Apache Spark versions prior to 4.0.0, 3.5.2, and 3.4.4 are vulnerable due to the use of an insecure default cipher for RPC communication. When the network encryption feature is enabled without explicit configuration of the cipher, Spark defaults to using AES in CTR mode, which allows a man-in-the-middle attacker to tamper with encrypted RPC traffic undetected. This can potentially compromise both heartbeat messages and application data, undermining the integrity of Spark workflows. Users are advised to configure spark.network.crypto.cipher to AES/GCM/NoPadding for authenticated encryption or enable SSL encryption.
Affected Version(s)
Apache Spark 3.5.0 < 3.5.2
Apache Spark 0 < 3.4.4
Apache Spark 3.5.0 < 3.5.2
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint