{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.1.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4f7940167d172858e37373bc330c7093e8765d5b"
            }
          ],
          "repo": "https://github.com/RT-Thread/rt-thread",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was found in RT-Thread 5.1.0. It has been rated as critical. Affected by this issue is the function sys_select of the file rt-thread/components/lwp/lwp_syscall.c of the component Parameter Handler. The manipulation of the argument timeout leads to memory corruption. The vendor explains, that \"[t]he timeout parameter should be checked to check if it can be accessed correctly in kernel mode and used temporarily in kernel memory.\"",
  "id": "CVE-2025-5865",
  "modified": "2026-04-01T23:08:16.099830086Z",
  "published": "2025-06-09T07:15:22.660Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.311624"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.584124"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/RT-Thread/rt-thread/issues/10298"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.311624"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}