CVE-2026-47245

MyBB: Buddy list corruption

Published Aug 18, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

MyBB’s Buddy/Ignore List handler in versions prior to 1.8.40 fails to validate the return value of array_search when removing a buddy entry. The function can return false, which is treated as 0 and used as an array key, causing the entry at index 0—normally the first stored buddy—to be deleted instead of the intended target. The attacker can, by deleting entries, corrupt the buddy list of another user while the reciprocal entry remains unchanged. The flaw does not allow code execution or information disclosure; it only leads to unintended data modification consistent with a Data Integrity violation. The weakness underlying this issue is the lack of validation for function return values (CWE‑252).

Affected Systems

All installations of MyBB forum software whose Buddy list component had not yet been updated to version 1.8.40 are affected. The vulnerability stems from the mybb:mybb product and targets users with access to the User CP Buddy/Ignore List feature. The bug was fixed in the 1.8.40 release available from the official MyBB website and GitHub repository.

Risk and Exploitability

The CVSS score of 4.3 indicates a low severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by simply navigating to the User CP and issuing a delete action for a buddy entry; no elevated privileges or network access are required. Because the impact is limited to accidental removal of a list entry, the risk to confidentiality, integrity, or availability is low to moderate. The potential for denial of service or user annoyance exists, but the overall likelihood of exploitation and harm remains modest.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MyBB to version 1.8.40 or later, which contains the fix.
  • If an immediate upgrade is not possible, patch the usercp.php handler to validate the return value of array_search before using it as an array key, preventing accidental index corruption.
  • Back up the mybb_users.buddylist table before applying any changes to ensure data can be restored if needed.

Generated by OpenCVE AI on August 18, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mybb
Mybb mybb
Vendors & Products Mybb
Mybb mybb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title MyBB: Buddy list corruption
Weaknesses CWE-252
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 5:37 PM
Reserved
May 18, 2026, 10:54 PM
Status
Deferred
Published
Aug 18, 2026, 4:17 PM
Modified
Sep 8, 2026, 9:02 PM