CVE-2021-33806
Description
The BDew BdLib library before 1.16.1.7 for Minecraft allows remote code execution because it deserializes untrusted data in ObjectInputStream.readObject as part of its use of Java serialization.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
BdLib Minecraft mod before 1.16.1.7 deserializes untrusted data via Java serialization, allowing remote code execution by a malicious server or client.
Vulnerability
BdLib, a library mod for Minecraft, uses Java serialization via ObjectInputStream.readObject() to deserialize packet data sent over the Minecraft network pipeline. Versions prior to 1.16.1.7 do not validate the incoming data before deserialization, making them susceptible to arbitrary code execution [2]. The vulnerability is classified as CWE-502: Deserialization of Untrusted Data [2].
Exploitation
An attacker who controls either a Minecraft server or a client can craft malicious serialized Java objects and send them as part of the BdLib network protocol. The victim's game client or server will deserialize the untrusted data without any validation, triggering the exploit [2]. No additional authentication or user interaction is required beyond connecting to a malicious server or accepting a connection from a malicious client.
Impact
Successful exploitation allows the attacker to execute arbitrary code on the victim's system with the privileges of the Minecraft process. This can lead to full compromise of the affected system, including data theft, installation of malware, or further lateral movement within a network [2].
Mitigation
The vulnerability is fixed in BdLib version 1.16.1.7 [2]. The fix involved reworking the custom network code to eliminate the use of Java serialization, as shown in the commit 4472105 [1]. Users should update to 1.16.1.7 or later immediately. No workaround is available for earlier versions.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- BDew/BdLib librarydescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- bdew.netmitrex_refsource_MISC
- github.com/bdew-minecraft/bdlib/commit/447210530ceec72fb3374efecb0930ed359d2297mitrex_refsource_CONFIRM
- vuln.ryotak.me/advisories/46mitrex_refsource_MISC
- www.curseforge.com/minecraft/mc-mods/bdlib/files/3331330mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.