WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `transferBalance()` method in `plugin/YPTWallet/YPTWallet.php` contains a Time-of-Check-Time-of-Use (TOCTOU) race condition. The method reads the sender's wallet balance, checks sufficiency in PHP, then writes the new balance — all without database transactions or row-level locking. An attacker with multiple authenticated sessions can send concurrent transfer requests that all read the same stale balance, each passing the balance check independently, resulting in only one deduction being applied while the recipient is credited multiple times. Commit 34132ad5159784bfc7ba0d7634bb5c79b769202d contains a fix.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/WWBN/AVideo/commit/34132ad5159784bfc7ba0d7634bb5c79b769202d Patch
- https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr Exploit, Vendor Advisory
- https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · wwbnNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*
References 3
- https://github.com/WWBN/AVideo/commit/34132ad5159784bfc7ba0d7634bb5c79b769202d Patch
- https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr Exploit, Vendor Advisory
- https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr Exploit, Vendor Advisory