Skip to main content

RT-Thread EUVDEUVD-2026-137837

| CVE-2026-138313 LOW
Out-of-bounds Write (CWE-787)
2026-11-29 VulDB GHSA-4r56-6c4j-cr8c
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local privileged access
  2. Delivery
    Open graphic device driver
  3. Exploit
    Supply out-of-range Pos offset
  4. Execution
    Trigger out-of-bounds framebuffer write
  5. Impact
    Corrupt adjacent kernel/device memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to a device running RT-Thread 5.3.0 or earlier with sufficient privileges (PR:L) to open and invoke read/write operations on the Graphic Device Driver (components/drivers/graphic/graphic.c). The specific trigger is passing a Pos (position/offset) argument to _graphic_read or _graphic_write that is negative or greater than or equal to the framebuffer length, which the pre-patch code failed to validate before writing. Limiting factors: there is no remote or network path (AV:L), the attacker must already hold local privileges on the device, no user interaction by a victim is involved, and impact is bounded to Low because the write targets memory adjacent to the framebuffer rather than yielding broad system compromise. Devices patched with commit 3277e831bfcef03c26158b110f0e925e9c5e71ee (which adds the pos < 0 || pos >= framebuffer_len check) are not affected.

Impact

This is a low-priority issue despite being a memory-corruption (CWE-787 out-of-bounds write) flaw. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) and the vendor-assigned base score of 1.9 both point to a local, low-privilege-required vulnerability with only Low impact to confidentiality, integrity, and availability - consistent with the source evidence, which shows the bug is a missing bounds check on the framebuffer offset in a device-driver read/write path. The vuln.today decision label is 'monitor', and there is no CISA KEV listing and no EPSS value supplied, so there is no evidence of active exploitation; this is not an emergency. A public PoC reference exists (an RT-Thread GitHub issue) but the input explicitly states it is not verified as working exploit code, so it should not be treated as a weaponized exploit. No signals conflict here: all available data (local attack vector, required privileges, low technical impact, 'monitor' priority, absence of KEV/EPSS escalation) agree that this is a genuine but low-urgency defect appropriate for routine patching rather than prioritized response. The main missing datum is EPSS, which would quantify exploitation probability but is not required given the local-only, low-impact profile.

Exploit ScenarioDerived

A local actor who already has sufficient privileges to open and interact with the RT-Thread graphic device driver issues a read or write with a crafted Pos (position) argument that falls outside the framebuffer bounds, causing an out-of-bounds write into adjacent memory. A public PoC reference exists but is not verified as working exploit code. Because the vector is local and requires privileges (AV:L/PR:L), there is no remote or unauthenticated path.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

Out-of-bounds memory writes in RT-Thread's graphic device driver (components/drivers/graphic/graphic.c) allow a local user who can already open the graphic device to corrupt memory adjacent to the framebuffer by passing a negative or oversized position offset (Pos) to the _graphic_read and _graphic_write entry points; versions up to and including 5.3.0 are affected. The flaw is a CWE-787 missing-bounds-check bug rated Low severity (assessed CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, CVSS 4.0 base 1.9) because there is no remote path, the attacker must already hold local privileges, and the resulting corruption is bounded rather than a full system compromise. There is no CISA KEV entry and no confirmed working exploit; a public PoC reference exists (GitHub issue 11969) but it is not verified as working exploit code, and the vendor has published upstream fix commit 3277e831bfcef03c26158b110f0e925e9c5e71ee, so this is tracked as monitor priority.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit 3277e831bfcef03c26158b110f0e925e9c5e71ee, which merges via PR https://github.com/RT-Thread/rt-thread/pull/11970 and adds the guard if (pos < 0 || (rt_size_t)pos >= plane->framebuffer_len) { return 0; } to both _graphic_read and _graphic_write in components/drivers/graphic/graphic.c; if you maintain a downstream BSP or vendor SDK on RT-Thread 5.3.0 or earlier, backport that patch to your tree and rebuild, since the vendor suggests installing the patch as the resolution (advisory references: https://github.com/RT-Thread/rt-thread/commit/3277e831bfcef03c26158b110f0e925e9c5e71ee, https://github.com/RT-Thread/rt-thread/pull/11970). Because the assessed vector is AV:L/PR:L, the only exposure path is a local principal that can already open the graphic device and issue rt_device read/write calls, so in the interim restrict which components of the device are permitted to drive that interface until the fix is built in; note that this reduces exposure but does not remove the missing bounds check, so patching remains the complete fix.

Affected VersionsENISA

RT-Thread 5.1
RT-Thread 5.3.0
RT-Thread 5.2
RT-Thread 5.0

Affected Packages

euvd rt_thread no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RT-Thread is an open-source real-time operating system whose device-driver framework exposes a uniform rt_device read/write interface to applications and kernel components. The graphic subsystem (components/drivers/graphic/graphic.c) wraps framebuffer access behind the static helpers _graphic_read and _graphic_write, which take a Pos offset plus a caller-supplied buffer and length and translate that into an access against the plane's framebuffer; framebuffer geometry is tracked in plane->framebuffer_len. Prior to the fix, neither helper validated Pos before using it, so a negative value or one at or beyond framebuffer_len caused the access to land outside the framebuffer bounds - the CWE-787 out-of-bounds write class. The upstream patch (PR 11970, commit 3277e831bfcef03c26158b110f0e925e9c5e71ee) adds an explicit guard at the top of both functions rejecting pos < 0 and (rt_size_t)pos >= plane->framebuffer_len and returning 0, so the vulnerable primitive is the absence of that bounds check. The attack surface is local only: it requires the ability to open the graphic device and issue read/write operations, which is why the assessed vector is AV:L with PR:L and why impact is confined to Low for confidentiality, integrity and availability.

Know when Rt Thread gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 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
vuln.today AI 5.3 MEDIUM

Driver access needs local privileges so AV:L/PR:L; the missing bounds check is trivially reached giving AC:L; framebuffer-adjacent corruption yields limited C/I/A:L with no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

3
Severity Changed
Nov 29, 2026 - 21:22 NVD
MEDIUM LOW
CVSS changed
Nov 29, 2026 - 21:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Nov 29, 2026 - 21:00 cve.org
LOW 1.9

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 97% exploitable
Prevalence
Low
RT-Thread is a niche open-source embedded RTOS, not general enterprise software
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2025-5865 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_select syscall handler that allows authenticated local

CVE-2025-5867 HIGH POC
8.0 Jun 09

Critical null pointer dereference vulnerability in RT-Thread 5.1.0's lwp_syscall.c csys_sendto function, allowing authen

CVE-2025-5869 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_recvfrom syscall handler that allows authenticated loc

CVE-2025-5866 HIGH POC
8.0 Jun 09

A security vulnerability in A vulnerability classified as critical (CVSS 8.0). Risk factors: public PoC available.

CVE-2025-5868 HIGH POC
8.0 Jun 09

Critical array index validation vulnerability in RT-Thread 5.1.0's signal mask syscall handler that allows authenticated

CVE-2025-6693 HIGH POC
7.8 Jun 26

A vulnerability, which was classified as critical, was found in RT-Thread up to 5.1.0. This affects the function sys_dev

CVE-2026-14606 HIGH POC
7.1 Jul 03

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the CAN_Receive function with

CVE-2026-14605 HIGH POC
7.1 Jul 03

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the recvmsg function within t

CVE-2024-25393 CRITICAL
9.8 Mar 27

A stack buffer overflow occurs in net/at/src/at_server.c in RT-Thread through 5.0.2. Rated critical severity (CVSS 9.8),

CVE-2026-14607 MEDIUM POC
5.4 Jul 03

Memory corruption in RT-Thread's Linux-compatible process (lwp) syscall layer allows a local low-privileged user to cras

CVE-2026-137620 MEDIUM POC
5.2 Nov 26

Divide-by-zero in RT-Thread's DM365 DaVinci SPI driver (bsp/dm365/drivers/spi-davinci.c) crashes or faults the system wh

CVE-2025-1115 MEDIUM POC
4.8 Feb 08

A vulnerability classified as problematic was found in RT-Thread up to 5.1.0. Rated medium severity (CVSS 4.8), this vul

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy