Skip to content
Heist/ feed
Back to feed
Medium

MyBB: Buddy list corruption

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47245
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:42 UTC · Revision 1

Source evidence

MyBB: Buddy list corruption

core-osv · Original source

Published 18 Aug 2026, 15:51 UTC

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.

osv:CVE-2026-47245
Complete source record
{
  "id": "f8543b62e7f5854540fccc34b71fb7ac34a6acabeccb03e986ecee0e90016b5c",
  "url": "https://osv.dev/vulnerability/CVE-2026-47245",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MyBB: Buddy list corruption",
    "summary": "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.",
    "evidence": "osv:CVE-2026-47245",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-47245",
      "aliases": [
        "CVE-2026-47245",
        "GHSA-w8gm-j57p-jqpc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mybb/mybb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0557718f27503034fb1c2768729a2fb8239bba65"
                },
                {
                  "fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "0557718f27503034fb1c2768729a2fb8239bba65"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "mybb_1840"
                  }
                ]
              }
            }
          ],
          "versions": [
            "mybb_1839",
            "mybb_1839_build",
            "mybb_1838",
            "mybb_1838_build",
            "mybb_1837",
            "mybb_1837_build",
            "mybb_1836",
            "mybb_1835_build",
            "mybb_1835",
            "mybb_1834",
            "mybb_1834_build",
            "mybb_1833",
            "mybb_1833_build",
            "mybb_1832",
            "mybb_1832_build",
            "mybb_1831",
            "mybb_1831_build",
            "mybb_1829",
            "mybb_1828",
            "mybb_1828_build",
            "mybb_1827_build",
            "mybb_1827",
            "mybb_1823_build",
            "mybb_1823",
            "mybb_1822",
            "mybb_1822_build",
            "mybb_1821pl1",
            "mybb_1821",
            "mybb_1821_build",
            "mybb_1817_build",
            "mybb_1817",
            "mybb_1820",
            "mybb_1820_build",
            "mybb_1820-rc",
            "mybb_1819",
            "mybb_1818",
            "mybb_1819_build",
            "mybb_1818_build",
            "mybb_1816",
            "mybb_1816_build",
            "mybb_1815",
            "mybb_1815_build",
            "mybb_1814",
            "mybb_1813",
            "mybb_1812",
            "mybb_1811",
            "mybb_1810",
            "mybb_1809",
            "mybb_1808",
            "mybb_1807",
            "mybb_1806",
            "mybb_1805",
            "mybb_1804",
            "mybb_1800",
            "mybb_1801"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47245.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.591286019Z",
      "provider": "osv",
      "references": [
        "https://github.com/mybb/mybb/releases/tag/mybb_1840",
        "https://mybb.com/versions/1.8.40",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47245.json",
        "https://github.com/mybb/mybb/security/advisories/GHSA-w8gm-j57p-jqpc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47245",
        "https://github.com/mybb/mybb/commit/0557718f27503034fb1c2768729a2fb8239bba65"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-252"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.8.40"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.8.40"
                  },
                  {
                    "fixed": "1.8.40"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47245.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47245",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491969,
  "published_at": "2026-08-18T15:51:33.857+00:00"
}