Skip to main content

PHP CVE-2026-34368

| EUVDEUVD-2026-16734 MEDIUM
Race Condition (CWE-362)
2026-03-27 security-advisories@github.com GHSA-h54m-c522-h6qr
5.3
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
EUVD ID Assigned
Mar 27, 2026 - 18:22 euvd
EUVD-2026-16734
Analysis Generated
Mar 27, 2026 - 18:22 vuln.today
CVE Published
Mar 27, 2026 - 18:16 nvd
MEDIUM 5.3

DescriptionGitHub Advisory

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.

AnalysisAI

WWBN AVideo up to version 26.0 allows authenticated attackers to conduct concurrent balance transfers that exploit a Time-of-Check-Time-of-Use (TOCTOU) race condition in the wallet module, enabling arbitrary financial value multiplication without database transaction protection. An attacker with multiple authenticated sessions can trigger parallel transfer requests that each read the same wallet balance, all pass the sufficiency check independently, but result in only a single deduction while the recipient receives multiple credits. The vulnerability requires local authentication and moderate attacker effort (AC:H) but carries high integrity impact; no public exploit code or active exploitation has been identified at the time of analysis.

Technical ContextAI

The vulnerability resides in the transferBalance() method within WWBN AVideo's plugin/YPTWallet/YPTWallet.php file, which implements wallet balance transfer logic without atomic database transactions or row-level locking mechanisms. The root cause is classified as CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), a canonical race condition pattern. The affected product is WWBN AVideo, an open-source video platform written in PHP that manages user wallet balances. When a transfer is initiated, the method reads the current sender balance from the database, validates sufficiency in PHP application logic, then updates both sender and recipient balances in separate write operations. Without explicit transaction boundaries (BEGIN/COMMIT/ROLLBACK) or database-level locks (SELECT FOR UPDATE), concurrent requests from the same user can interleave reads and writes, allowing multiple transfers to be validated against the same pre-transfer balance state while only the final write overwrites the intermediate deductions.

RemediationAI

Upgrade WWBN AVideo to a version incorporating commit 34132ad5159784bfc7ba0d7634bb5c79b769202d or later; consult the vendor security advisory at https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr for the exact patched release version. The fix implements proper database transaction handling and row-level locking to prevent concurrent balance manipulation. Until patching is feasible, implement compensating controls by enforcing single-threaded wallet operations through application-level mutexes or database advisory locks for user accounts performing transfers, and monitor audit logs for suspicious patterns of multiple concurrent transfers from the same user within short time windows. Additionally, limit concurrent authenticated session count per user if the platform's architecture permits.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-34368 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy