PYTHON-6172ClosedFixed

C/pure-Python decoders disagree on short UUID payloads

h3. Detailed steps to reproduce the problem? Found by the PYTHON-4232 BSON fuzzer; the Evergreen fuzz task failed with: https://spruce.corp.mongodb.com/task/mongo_python_driver_fuzz_rhel8_fuzz_patch_e0b11bf246f9668ae2ed9be7703ebb8b4d862b7e_6acf7861d0463e000733a876_26_10_14_12_41_14/logs?execution=0 Reproducing locally: With the C extension present this raises {{InvalidBSON: invalid length or type code}}. With {{bson._cbson}} blocked it returns {{[{'': Binary(b'', 4)}]}}. T

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
4.20.0
Components
Server components related to this issue
BSON
Labels
Tags and classification
greenerbuild