{"id":"CVE-2026-138312","summary":"RT-Thread POSIX Pipe IPC Driver pipe.c pipe_fops_ioctl out-of-bounds write","details":"A security vulnerability has been detected in RT-Thread up to 5.3.0. Affected is the function pipe_fops_ioctl of the file components/drivers/ipc/pipe.c of the component POSIX Pipe IPC Driver. Such manipulation leads to out-of-bounds write. The attack needs to be performed locally. The exploit has been disclosed publicly and may be used. The name of the patch is 7b0edb49799630b56aec5c24d639ff530ebcf1a8. Applying a patch is advised to resolve this issue.","modified":"2026-11-29T22:00:08.918740446Z","published":"2026-11-29T20:45:20.968Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138312.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138312.json"},{"type":"WEB","url":"https://github.com/RT-Thread/rt-thread/"},{"type":"FIX","url":"https://github.com/RT-Thread/rt-thread/commit/7b0edb49799630b56aec5c24d639ff530ebcf1a8"},{"type":"REPORT","url":"https://github.com/RT-Thread/rt-thread/issues/11958"},{"type":"FIX","url":"https://github.com/RT-Thread/rt-thread/pull/11971"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138312"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-138312"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1075659"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/445137"},{"type":"REPORT","url":"https://vuldb.com/vuln/445137/cti"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rt-thread/rt-thread","events":[{"introduced":"897ba365baa1cb2105b46964082d378e7b14b47b"},{"last_affected":"99428a1e7f7447955aa860f7c969273a12095b8f"},{"fixed":"7b0edb49799630b56aec5c24d639ff530ebcf1a8"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"5.0"},{"last_affected":"5.0"}]},{"range":[{"introduced":"5.1"},{"last_affected":"5.1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"5.2"},{"last_affected":"5.2"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"5.3.0"},{"last_affected":"5.3.0"}]},{"range":[{"fixed":"7b0edb49799630b56aec5c24d639ff530ebcf1a8"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["5.0","5.1","5.2","5.3.0","v5.3.0","v5.0.2","v5.0.1","v5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138312.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}