{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "5.1"
                  },
                  {
                    "last_affected": "5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "5.2"
                  },
                  {
                    "last_affected": "5.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "5.3.0"
                  },
                  {
                    "last_affected": "5.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "f6857f9fb0f8e1a7e6064ed3078e21587d497ea5"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "897ba365baa1cb2105b46964082d378e7b14b47b"
            },
            {
              "fixed": "f6857f9fb0f8e1a7e6064ed3078e21587d497ea5"
            }
          ],
          "repo": "https://github.com/rt-thread/rt-thread",
          "type": "GIT"
        }
      ],
      "versions": [
        "5.0",
        "5.1",
        "5.2",
        "5.3.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-119",
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138314.json"
  },
  "details": "A flaw has been found in RT-Thread up to 5.3.0. Affected by this issue is the function msix_table_remap of the file components/drivers/pci/msi/msi.c of the component PCI MSI Driver/MSI-X Driver. Executing a manipulation can lead to improper validation of array index. The attack requires local access. The exploit has been published and may be used. This patch is called f6857f9fb0f8e1a7e6064ed3078e21587d497ea5. A patch should be applied to remediate this issue.",
  "id": "CVE-2026-138314",
  "modified": "2026-11-30T20:45:40.173846336Z",
  "published": "2026-11-29T21:15:17.640Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/RT-Thread/rt-thread/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138314.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138314"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-138314"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1075664"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445139"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/RT-Thread/rt-thread/issues/11985"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445139/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/RT-Thread/rt-thread/commit/f6857f9fb0f8e1a7e6064ed3078e21587d497ea5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/RT-Thread/rt-thread/pull/11986"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "RT-Thread PCI MSI Driver/MSI-X Driver msi.c msix_table_remap array index"
}