CVE-2026-12235
Last modified
CVE-2026-12235 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. The Linkable Loadable Extensions (llext) subsystem mis-handles PLT/RELA relocation entries when linking a relocatable (partially-linked) ELF extension. In llext_link_plt() (subsys/llext/llext_link.c), the relocatable branch (tgt != NULL, the path used for Xtensa relocatable objects) computed the patch address as ext->mem[LLEXT_MEM_TEXT] - text.sh_offset + rela.r_offset + tgt->sh_offset and then performed the relocation write there without validating rela.r_offset.
Description
The Linkable Loadable Extensions (llext) subsystem mis-handles PLT/RELA relocation entries when linking a relocatable (partially-linked) ELF extension. In llext_link_plt() (subsys/llext/llext_link.c), the relocatable branch (tgt != NULL, the path used for Xtensa relocatable objects) computed the patch address as ext->mem[LLEXT_MEM_TEXT] - text.sh_offset + rela.r_offset + tgt->sh_offset and then performed the relocation write there without validating rela.r_offset. Its sibling shared/dynamic branch already rejected out-of-range offsets via llext_file_offset(). rela.r_offset is read directly from the ELF's RELA table, so a crafted entry with an offset larger than the target section makes the write land arbitrarily far outside the extension's text buffer. The result is an attacker-influenced out-of-bounds write (the location via r_offset, the written value being the resolved symbol address) performed in supervisor context at link time, before any extension code runs. The path is reached from llext_load() whenever an application loads an attacker-influenced ELF extension on Xtensa with writable storage; llext is documented to accept extensions of untrusted origin. Impact is supervisor-context memory corruption (integrity and availability loss, and a sandbox-boundary escape for user-mode extensions). Exploitation is gated by the Xtensa relocatable PLT path and writable storage, and turning the out-of-range write into a useful primitive is non-trivial. The fix adds a bound check rejecting any RELA entry whose r_offset >= tgt->sh_size, mirroring the existing validation in the shared branch.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 3.7.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-12235?
How severe is CVE-2026-12235?
How do I fix CVE-2026-12235?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12228A stored cross-site scripting (XSS) vulnerability exists in …8.7
- CVE-2026-1223PrismX MX100 AP controller developed by BROWAN COMMUNICATION…6.9
- CVE-2026-12231The Exclusive Addons for Elementor plugin for WordPress is v…6.4
- CVE-2026-12232The Intel ALH digital-audio-interface driver function dai_al…6.1
- CVE-2026-12233The PSA Protected Storage credential backend (subsys/net/lib…5.9
- CVE-2026-12234The userspace syscall verifiers z_vrfy_zsock_sendmsg() and z…7.8
- CVE-2026-12238The WP Go Maps – Most Popular Map Plugin plugin for WordPres…5.3
- CVE-2026-1224Tanium addressed an uncontrolled resource consumption vulner…6.5
- CVE-2026-12240The Export User Data plugin for WordPress is vulnerable to a…8
- CVE-2026-12242The AdRotate Banner Manager plugin for WordPress is vulnerab…8.8
- CVE-2026-12243NLTK version 3.9.4 is vulnerable to a path traversal attack …7.5
- CVE-2026-12244If NSD is configured as secondary for a zone, the primary of…8.8
Are you affected by CVE-2026-12235?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
