Home › CVE › Vulnerabilities
CVE-2026-138313 — RT-Thread
One of 3 RT-Thread vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
A vulnerability was detected in RT-Thread up to 5.3.0. Affected by this vulnerability is the function _graphic_read/_graphic_write of the file components/drivers/graphic/graphic.c of the component Graphic Device Driver. Performing a manipulation of the argument Pos results in out-of-bounds write. The attack requires a local approach. The exploit is now public and may be used. The patch is named 3277e831bfcef03c26158b110f0e925e9c5e71ee. It is suggested to install a patch to address 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 confidentiality, integrity and availability
- Impact on other systems
- low on confidentiality, integrity and availability
- 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/3277e831bfcef03c26158b110f0e925e9…
- github.com/RT-Thread/rt-thread/pull/11970
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-138313?
A vulnerability was detected in RT-Thread up to 5.3.0. Affected by this vulnerability is the function graphicread/graphicwrite of the file components/drivers/graphic/graphic.c of the component Graphic Device Driver. Performing a manipulation of the argument Pos results in out-of-bounds write. The attack requires a local approach. The exploit is now public and may be used. Weakness type: Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119).
How severe is CVE-2026-138313?
CVE-2026-138313 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-138313 being exploited?
Not as far as is known: CVE-2026-138313 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138313?
RT-Thread 5.0, 5.1, 5.2, 5.3.0.
How do I fix CVE-2026-138313?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.