# CVE-2026-138313: RT-Thread Graphic Device Driver graphic.c _graphic_write 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:L/VI:L/VA:L/SC:L/SI:L/SA:L/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-29T21:00:25.138Z
- Modified: 2026-11-30T18:18:52.513Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(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:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/RT-Thread/rt-thread/issues/11969> (exploit, issue-tracking)
- <https://vuldb.com/vuln/445138> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445138/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138313> (third-party-advisory)
- <https://vuldb.com/submit/1075661> (third-party-advisory)
- <https://github.com/RT-Thread/rt-thread/pull/11970> (issue-tracking, patch)
- <https://github.com/RT-Thread/rt-thread/commit/3277e831bfcef03c26158b110f0e925e9c5e71ee> (patch)
- <https://github.com/RT-Thread/rt-thread/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2026-138313 · Whole record: https://cve.day/CVE-2026-138313.json · Rebuilt by cve.day 2026-11-30T18:32:27.992Z
