CVE-2026-34368
CVE-2026-34368 · AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 5.3 · Moyenne · EPSS 0,2%
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
avideo
- Versions du logiciel
- <= 26.0: Concernée
Aucun correctif publié
wwbn/avideo Packagist
- Versions du logiciel
- 10.4
- 10.8
- 11
- 11.1
- 11.1.1
- 11.5
- 11.6
- 12.4
- 14.3
- 14.3.1
- 14.4
- 18.0
- 21.0
- 22.0
- 24.0
- 25.0
- 26.0
- Plages de versions concernées
- ECOSYSTEM: ≤ 26.0
Aucun correctif publié