technology1 month ago
MongoDB .NET Driver Fixes BSON Binary Subtype Corruption in 3.13.0
MongoDB has released version 3.13.0 of its .NET driver to resolve a minor bug that allowed out-of-range binary subtypes to corrupt BSON output. The issue, tracked as CSHARP-6166, permitted values exceeding 255 to bypass validation, leading to unreadable documents or silent data truncation. The fix enforces strict range checks across constructors and readers, ensuring full backward compatibility.