The vulnerability arises from the use of non-constant-time string comparisons (===) for cryptographic hash/token validation. Kohana's Cookie::get and Security::check functions were explicitly patched in the provided commit (GHSA-w9ph-q4h9-rwq6) to replace === with a timing-safe comparison (slow_equals), confirming their vulnerability. For CodeIgniter, while the provided Session.php code (2.2.6) shows a constant-time HMAC check, the CVE indicates versions <3.0.0 are vulnerable. This suggests older CodeIgniter versions might have used insecure comparisons, but the specific vulnerable function isn't clear from the provided code. Thus, only Kohana's functions are listed with high confidence.