{"cve":"CVE-2025-55039","nvd":{"published":"2025-10-15T08:15:38.460","modified":"2026-10-08T12:10:00.217","status":"Modified","description":"This issue affects Apache Spark versions before  3.4.4, 3.5.2 and 4.0.0.\n\n\n\nApache 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.\n\nWhen 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.\n\nThis 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.\n\n\nTo mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or\n\nenable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5},"cwes":["CWE-326","CWE-347"],"references":["https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq","http://www.openwall.com/lists/oss-security/2025/10/14/11"],"products":["apache:spark"],"source":"nvd","synced_at":"2026-10-19T22:12:35.277909958+00:00"},"epss":{"cve":"CVE-2025-55039","score":0.00205,"percentile":0.10389,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6p6v-m64v-jx8q","url":"https://osv.dev/vulnerability/GHSA-6p6v-m64v-jx8q","summary":"Apache Spark has Inadequate Encryption Strength","modified":"2026-06-08T20:00:14.668355331Z","packages":[{"ecosystem":"Maven","name":"org.apache.spark:spark-network-common_2.13","purl":"pkg:maven/org.apache.spark/spark-network-common_2.13","ranges":[">=3.5.0 <3.5.2"],"fixed":["3.5.2"]},{"ecosystem":"Maven","name":"org.apache.spark:spark-network-common_2.13","purl":"pkg:maven/org.apache.spark/spark-network-common_2.13","ranges":["<3.4.4"],"fixed":["3.4.4"]},{"ecosystem":"Maven","name":"org.apache.spark:spark-network-common_2.12","purl":"pkg:maven/org.apache.spark/spark-network-common_2.12","ranges":["<3.4.4"],"fixed":["3.4.4"]},{"ecosystem":"Maven","name":"org.apache.spark:spark-network-common_2.12","purl":"pkg:maven/org.apache.spark/spark-network-common_2.12","ranges":[">=3.5.0 <3.5.2"],"fixed":["3.5.2"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.4.4"],"fixed":["3.4.4"]},{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[">=3.5.0 <3.5.2"],"fixed":["3.5.2"]}]},{"id":"PYSEC-2025-184","url":"https://osv.dev/vulnerability/PYSEC-2025-184","summary":"","modified":"2026-06-10T17:01:44.915328547Z","packages":[{"ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":["<3.4.4",">=3.5.0 <3.5.2"],"fixed":["3.4.4","3.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}