# CVE-2026-138312: RT-Thread POSIX Pipe IPC Driver pipe.c pipe_fops_ioctl out-of-bounds write

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T20:45:20.968Z
- Modified: 2026-11-30T21:17:28.403Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- RT-Thread: 5.0; 5.1; 5.2; 5.3.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 4.4 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 3.2 Low `AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/RT-Thread/rt-thread/issues/11958> (exploit, issue-tracking)
- <https://vuldb.com/vuln/445137> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445137/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138312> (third-party-advisory)
- <https://vuldb.com/submit/1075659> (third-party-advisory)
- <https://github.com/RT-Thread/rt-thread/pull/11971> (issue-tracking, patch)
- <https://github.com/RT-Thread/rt-thread/commit/7b0edb49799630b56aec5c24d639ff530ebcf1a8> (patch)
- <https://github.com/RT-Thread/rt-thread/> (product)

## Sources

- CVE List: [CVE-2026-138312](https://www.cve.org/CVERecord?id=CVE-2026-138312), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138312](https://nvd.nist.gov/vuln/detail/CVE-2026-138312), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138312 · Whole record: https://cve.day/CVE-2026-138312.json · Rebuilt by cve.day 2026-11-30T21:32:18.318Z
