CVE-2026-34368
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-34368",
"sourceIdentifier": "[email protected]",
"published": "2026-03-27T18:16:05.723",
"lastModified": "2026-10-26T22:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "WWBN AVideo es una plataforma de video de código abierto. En versiones hasta la 26.0 inclusive, el método ’transferBalance()’ en ’plugin/YPTWallet/YPTWallet.php’ contiene una condición de carrera de tipo Time-of-Check-Time-of-Use (TOCTOU). El método lee el saldo de la billetera del remitente, verifica la suficiencia en PHP, luego escribe el nuevo saldo - todo sin transacciones de base de datos ni bloqueo a nivel de fila. Un atacante con múltiples sesiones autenticadas puede enviar solicitudes de transferencia concurrentes que leen el mismo saldo obsoleto, cada una pasando la verificación de saldo de forma independiente, resultando en que solo se aplique una deducción mientras el destinatario es acreditado varias veces. El commit 34132ad5159784bfc7ba0d7634bb5c79b769202d contiene una solución."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "WWBN",
"product": "AVideo",
"versions": [
{
"version": "<= 26.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.6,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-03-30T19:03:43.133606Z",
"id": "CVE-2026-34368",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-362"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*",
"versionEndIncluding": "26.0",
"matchCriteriaId": "774C24F1-9D26-484F-B931-1DA107C8F588"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/WWBN/AVideo/commit/34132ad5159784bfc7ba0d7634bb5c79b769202d",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr",
"source": "[email protected]",
"tags": [
"Exploit",
"Vendor Advisory"
]
},
{
"url": "https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Vendor Advisory"
]
}
]
}