Home › CVE › Vulnerabilities
CVE-2026-138312 — RT-Thread
One of 3 RT-Thread vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Low · 1.9
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- low on integrity and availability, none on confidentiality
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| RT-Thread | 5.0, 5.1, 5.2, 5.3.0 | — |
References by type
Patches and fixed releases
- github.com/RT-Thread/rt-thread/commit/7b0edb49799630b56aec5c24d639ff530…
- github.com/RT-Thread/rt-thread/pull/11971
Other references
Affected
- RT-Thread
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-138312?
A security vulnerability has been detected in RT-Thread up to 5.3.0. Affected is the function pipefopsioctl 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. Weakness type: Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119).
How severe is CVE-2026-138312?
CVE-2026-138312 has a CVSS 4.0 base score of 1.9 (low), from the CNA (vuldb.com). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-138312 being exploited?
Not as far as is known: CVE-2026-138312 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138312?
RT-Thread 5.0, 5.1, 5.2, 5.3.0.
How do I fix CVE-2026-138312?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.