CVE-2025-27821: Apache Hadoop HDFS Native Client Out-of-bounds Write Vulnerability
Summary
CVE-2025-27821: Apache Hadoop HDFS Native Client has Out-of-bounds Write Vulnerability. Affects org.apache.hadoop:hadoop-hdfs-native-client versions >= 3.2.0, < 3.4.2. Fixed in 3.4.2. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Hadoop is an open-source software framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. The Hadoop HDFS (Hadoop Distributed File System) Native Client is a component that provides a native interface for HDFS, enabling efficient data storage and retrieval. This package is widely used in big data applications and is crucial for handling large volumes of data. However, it has been found to have an out-of-bounds write vulnerability that could potentially compromise the integrity of the data being processed.
Vulnerability Detail
The out-of-bounds write vulnerability in the Apache Hadoop HDFS native client arises from improper handling of memory operations, allowing an attacker to write data outside the allocated memory buffer. This can lead to data corruption, application crashes, or even arbitrary code execution, posing a significant risk to the security and stability of applications relying on this component. The vulnerability affects versions from 3.2.0 up to, but not including, 3.4.2.
How To Fix
Latest published version: 3.5.0 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.4.2
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to upgrade to the patched version as mentioned above.
Conclusion
The out-of-bounds write vulnerability in the Apache Hadoop HDFS Native Client poses a significant risk to applications using this component. It is crucial for users to upgrade to version 3.4.2 or later to mitigate potential security threats. Regular monitoring of dependencies using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for org.apache.hadoop:hadoop-hdfs-native-client →
FAQ
The CVSS score for this vulnerability is 7.3, indicating a high severity level.
The vulnerability affects Apache Hadoop versions from 3.2.0 up to, but not including, 3.4.2.
Exploiting this vulnerability could lead to data corruption, application crashes, or arbitrary code execution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the pom.xml file. You can also check your application using the Vulert playground without any signup.
Yes, you should upgrade to version 3.4.2 or later to fix the vulnerability.