CERN ROOT before 6.40.00 contains a heap-based buffer overflow vulnerability in the loops that decompress multi-block payloads, including TBasket::ReadBasketBuffers(), TKey::ReadObj(), TKey::ReadObjWithBuffer(), TKey::ReadObjectAny(), TKey::Read(), TTreeCacheUnzip::UnzipBuffer(), TMessage::Uncompress() and RNTupleDecompressor::Unzip(), which pass the compressed and uncompressed sizes from each block header to R__unzip() without checking them against the bytes remaining in the input and output buffers. Attackers who supply a crafted ROOT file can make R__unzip() read past the input and write decompressed data past the end of the heap buffer, crashing the application or possibly executing code.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub