CVE-2026-6840: Unsigned Integer Conversion Bounds Check Bypasscve-2026-6840-unsigned-integer-conversion-bounds-check-bypass
A signed integer is compared against an unsigned size limit (SIZE_MAX / expression) without explicitly casting the signed integer. This may cause implicit signed-to-unsigned conversions to behave unexpectedly, allowing memory bounds checks to be bypassed. Always cast the signed integer to an unsigned type (e.g., static_cast<uint64_t>) before making the size