# CVE-2026-34368: AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T18:12:18.760Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-h54m-c522-h6qr
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- WWBN AVideo: <= 26.0; up to 26.0
- wwbn/avideo (Packagist): up to 26.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr> (exploit, vendor-advisory, web)
- <https://github.com/WWBN/AVideo/commit/34132ad5159784bfc7ba0d7634bb5c79b769202d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34368> (advisory)
- <https://github.com/WWBN/AVideo> (package)

## Sources

- CVE List: [CVE-2026-34368](https://www.cve.org/CVERecord?id=CVE-2026-34368), CVE Terms of Use, modified 2026-03-30
- GitHub Advisory Database: [GHSA-h54m-c522-h6qr](https://github.com/advisories/GHSA-h54m-c522-h6qr), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-34368](https://nvd.nist.gov/vuln/detail/CVE-2026-34368), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34368 · Whole record: https://cve.day/CVE-2026-34368.json · Rebuilt by cve.day 2026-11-25T22:59:17.415Z
