Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any registered forum member
-
DeliverySubmit buddy list delete request via usercp.php?action=do_editlists
-
ExploitTrigger reciprocal update with incorrect UID in array_search()
-
Executionarray_search() returns false, coerced to index 0
-
ImpactTarget account's first buddy list entry silently deleted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Return value checking
|
| Exploitation Conditions | Requires a valid authenticated session on the MyBB forum (low-privileged registered member account; no moderator or admin rights needed). The vulnerable code path is triggered specifically by submitting a DELETE request to usercp.php?action=do_editlists with manage=buddy and a valid delete UID. The original code lacked the manage=buddy input validation check (also added in the fix), meaning the reciprocal update could be triggered even without the buddy manage parameter. No non-default configuration is required. Exploitation is limited to buddy list data integrity; it cannot affect forum posts, user credentials, or other data. The victim suffers a silent loss of one buddy list entry, with impact proportional to how much buddy-list membership is used for access control or community features on the specific forum instance. |
| Impact | The CVSS 3.1 score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) accurately characterizes the real-world risk as moderate-to-low. Exploitation requires only a low-privileged (authenticated) account and no special configuration, making it trivially triggerable by any registered forum member. However, the integrity impact is narrow - only buddy list metadata is corrupted, not forum content, credentials, or session state. There is no confidentiality or availability impact. EPSS data was not provided, but the lack of KEV listing, no publicly disclosed POC, and the niche nature of the impact suggest exploitation probability is low. The SSVC decision is likely Defer for most deployments given the limited blast radius, though upgrade should be prioritized on forums where buddy/contact list integrity is functionally important (e.g., permission-gated communities). No conflicting signals exist in the data. |
| Exploit ScenarioDerived | An authenticated MyBB forum member navigates to their User CP and submits a request to delete any user from their buddy list. The flawed reciprocal update handler fires, searches for the wrong UID, receives false from array_search(), and silently removes the first entry from the target user's stored buddy list without the target user or administrator receiving any notification. The effect is data corruption rather than privilege escalation, leaving investigators to attribute the change to a software bug rather than malicious action. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Buddy list integrity corruption in MyBB before 1.8.40 allows any authenticated forum member to silently remove an arbitrary entry from another user's buddy list as a side effect of their own list management. The root cause is an unchecked array_search() return value (CWE-252) combined with a wrong UID used in the reciprocal update - PHP coerces the false return to array index 0, clobbering the target account's first stored buddy. No active exploitation has been identified at time of analysis, and the vendor-confirmed fix shipped in MyBB 1.8.40.
RemediationAI
Upgrade to MyBB 1.8.40, the vendor-released patched version confirmed via the GitHub release tag mybb_1840 and advisory GHSA-w8gm-j57p-jqpc. The specific fix is in commit 0557718f27503034fb1c2768729a2fb8239bba65, which corrects the array_search() target UID and adds a !== false guard before unsetting the array entry. If immediate upgrade is not possible, a compensating control would be to restrict access to the User CP buddy list feature by disabling the buddy list functionality in the MyBB admin panel (Admin CP > Configuration > Settings > User Settings), which eliminates the vulnerable code path entirely but removes the social feature for all users. No partial workaround preserves full buddy list functionality while blocking the flaw without applying the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MyBB is a PHP-based open-source forum platform (CPE: cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*). The flaw lives in usercp.php within the do_editlists delete handler. When a user removes someone from their buddy list, the code is supposed to perform a reciprocal update - removing the acting user from the target's buddy list. The original code incorrectly called array_search() searching for the deleted target UID within the target's own buddy list, rather than searching for the acting user's UID. When array_search() fails to find the value, it returns boolean false. PHP's loose typing then silently coerces false to integer 0 when it is used as an array key, causing unset($user['buddylist'][0]) to fire and delete the first entry in the target's buddy list. CWE-252 (Unchecked Return Value) is the exact root cause: the return value of array_search() was used without a ! false guard. The commit fix introduces both the missing $key ! false check and corrects the searched-for UID from the target to the acting user.
Know when Mybb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Network-accessible web app requiring only a low-privileged authenticated session; impact is limited to partial integrity corruption of buddy list metadata with no confidentiality or availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
MyBB is free and open source forum software. Prior to 1.8.40, the User CP Buddy/Ignore List component does not validate reciprocal buddy-list updates correctly. The usercp.php?action=do_editlists delete handler removes the selected entry from the acting user's list and then updates mybb_users.buddylist for the target account. The reciprocal update searches for the deleted target UID instead of the acting user's UID and uses the unchecked array_search() return value as an array key. A false result can be converted to index 0, removing the target account's first stored buddy while leaving the actual reciprocal entry unchanged. The uniquely identifying implementation details include false converted to index 0. This issue is fixed in version 1.8.40.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MyBB is a free and open source forum software. Rated high severity (CVSS 7.2), this vulnerability is remotely exploitabl
The installer in MyBB before 1.8.13 allows remote attackers to execute arbitrary code by writing to the configuration fi
SQL Injection vulnerability in MyBB before 1.8.26 via poll vote count. Rated high severity (CVSS 8.8), this vulnerabilit
SQL Injection vulnerablity in MyBB before 1.8.26 via theme properties included in theme XML files. Rated high severity (
In MyBB before 1.8.21, an attacker can exploit a parsing flaw in the Private Message / Post renderer that leads to [vide
Privilege escalation in MyBB 1.8.40 lets a limited Admin Control Panel (ACP) user who holds only the delegated user-mana
MyBB before 1.8.11 allows remote attackers to bypass an SSRF protection mechanism. Rated high severity (CVSS 7.7), this
SQL injection vulnerability in member.php in MyBB (aka MyBulletinBoard) 1.8.x before 1.8.2 allows remote attackers to ex
An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Change Avatar function. Rated h
An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Import a Theme function. Rated
An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Mail function. Rated high sever
Multiple SQL injection vulnerabilities in ajaxfs.php in the Ajax forum stat (Ajaxfs) Plugin 2.0 for MyBB (aka MyBulletin
EUVD-2026-61016
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB