Skip to main content

Zephyr HL7800 Driver EUVDEUVD-2026-61175

| CVE-2026-12520 MEDIUM
Out-of-bounds Write (CWE-787)
2026-08-18 vulnerabilities@zephyrproject.org
6.4
CVSS 3.1 · Vendor: zephyrproject
View

Attack ChainAIDerived

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

  1. Access
    Deploy rogue LTE base station in radio proximity
  2. Delivery
    Force HL7800 modem to attach to rogue cell
  3. Exploit
    Transmit crafted +KCELLMEAS line exceeding 128 bytes
  4. Execution
    on_cmd_atcmdinfo_rssi() overflows 128-byte kernel stack buffer
  5. Persist
    Corrupt return address or adjacent stack data in RX kernel thread
  6. Impact
    Achieve kernel-context crash or code execution

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 the target device to be running Zephyr 2.4.0 through 4.4.1 with the Sierra Wireless HL7800 cellular modem driver compiled in and the modem powered and connected to a cellular network. The attacker must occupy the adjacent cellular radio vector: either by operating a rogue LTE base station within range to induce the HL7800 to attach and receive crafted AT responses, by compromising the modem's baseband firmware to emit malicious response lines over UART, or by controlling a remote peer capable of injecting oversized response framing through a legitimate cellular network path. The +KCELLMEAS (on_cmd_atcmdinfo_rssi) full overflow requires a +KCELLMEAS response line longer than 128 bytes; the nineteen off-by-one sites trigger on any response that exactly fills the 128-byte buffer. No authentication or privileges on the Zephyr host are required (PR:N), and no user interaction is needed (UI:N), as the UART data is parsed automatically by the kernel RX thread. The primary limiting factor is the AC:H adjacent radio prerequisite - rogue base station access or baseband compromise is operationally non-trivial. Additionally, Zephyr build configurations that enable stack canaries (CONFIG_STACK_CANARIES) and MPU stack guards significantly reduce the exploitability of the +KCELLMEAS overflow for code execution, though not for DoS.

Impact

The CVSS 6.4 medium score captures the essential tension in this vulnerability: the attack vector is adjacent (AV:A) and complexity is high (AC:H), reflecting the genuine operational barrier of deploying a rogue LTE base station or compromising a cellular baseband, yet the impact ceiling - kernel-context code execution via the +KCELLMEAS overflow - is severe. Even a mid-sized IoT operator in opole deploying HL7800-equipped industrial gateways should treat this as an urgent patch priority given the proximity of embedded devices to physical public spaces where rogue base station attacks are feasible. The nineteen off-by-one NUL writes are individually lower severity, with a reliable crash as their floor and limited control over the overwritten byte, but they represent a systemic incorrect bounds-handling pattern across the driver. No EPSS score was provided in the available intelligence, and the CVE is absent from CISA KEV, meaning no confirmed widespread exploitation is known at time of analysis; the RCE tag is a reporter-assessed worst case conditional on the +KCELLMEAS path and the absence of build-time stack mitigations such as CONFIG_STACK_CANARIES. For Zephyr builds with stack canaries and MPU protection enabled, the practical impact floor is a reliable kernel crash (DoS); without those mitigations, kernel-context RCE is plausible. CVSS indicates PR:N (no host authentication required), consistent with the UART-driven modem data path requiring no local credentials.

Exploit ScenarioDerived

An attacker deploys a rogue LTE base station within cellular radio range of a Zephyr-based IoT device using the HL7800 modem, forces the device to attach to the rogue cell, and transmits a crafted +KCELLMEAS unsolicited response line exceeding 128 bytes. The HL7800 driver's on_cmd_atcmdinfo_rssi() handler, running in the kernel RX thread, copies this data into the 128-byte stack buffer using the wire length as the destination size, overflowing the buffer with attacker-controlled bytes and corrupting adjacent stack memory - at minimum crashing the kernel, and at worst redirecting execution to attacker-controlled code running with kernel privileges. No public proof-of-concept exploit has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Aug 18, 2026

Stack buffer overflow and off-by-one NUL-write vulnerabilities in the Sierra Wireless HL7800 cellular modem driver within Zephyr RTOS (versions 2.4.0 through 4.4.1) allow an attacker controlling a rogue LTE base station or a compromised modem baseband to crash or potentially execute arbitrary code in kernel context. Roughly twenty AT response handlers incorrectly size the destination argument to net_buf_linearize(), placing the null terminator one byte past a 128-byte stack buffer; the +KCELLMEAS handler is the most critical, passing the raw wire length as the destination size and enabling a full, attacker-content-driven stack overflow that runs in the driver's RX kernel thread. No public exploit has been identified at time of analysis, and this CVE does not appear in CISA KEV.

RemediationAI

Upgrade to Zephyr 4.4.2 or later, which incorporates the fix from commit ea91f9375677aa4268e4044e096902dbe789f101 (https://github.com/zephyrproject-rtos/zephyr/commit/ea91f9375677aa4268e4044e096902dbe789f101). The patch changes all net_buf_linearize() calls in the HL7800 driver to pass sizeof(dst) - 1 as the destination length (with explicit correct bounds for the IMSI and +KCELLMEAS sites), ensuring the null terminator always lands within the buffer. Full details are available in GitHub Security Advisory GHSA-9xc4-j5x8-v6jx at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9xc4-j5x8-v6jx. If immediate upgrade is not feasible, the most targeted compensating control is to disable or physically block cellular connectivity for affected HL7800-equipped devices, eliminating the adjacent radio attack path entirely at the cost of all cellular functionality. For deployments where cellular must remain active, enabling Zephyr build-time stack canaries (CONFIG_STACK_CANARIES=y) and MPU/stack guard protections raises the bar from reliable crash to a harder-to-exploit condition for the +KCELLMEAS overflow path, though these do not prevent the off-by-one NUL writes or DoS; they are mitigations, not fixes. Patching to 4.4.2 is the only complete resolution.

Affected VersionsENISA

Zephyr 2.4.0 <4.4.2

Affected Packages

euvd zephyr fix: 4.4.2

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

The Zephyr RTOS HL7800 driver (drivers/modem/vendor_standalone/hl7800.c; at drivers/modem/hl7800.c in v4.4.0 and earlier) implements AT command response parsing for the Sierra Wireless HL7800 LTE-M/NB-IoT cellular modem communicating over UART. The root cause is CWE-787 (Out-of-Bounds Write): approximately twenty handler functions call net_buf_linearize() to copy fragmented net_buf chain data into a 128-byte stack-allocated character array (value), then null-terminate by writing value[out_len] = 0. Because net_buf_linearize() is legally permitted to return exactly sizeof(value) - its destination capacity - when len equals or exceeds that size, out_len can reach 128, and the terminating NUL lands at value[128], one byte beyond the buffer boundary. The +KCELLMEAS handler (on_cmd_atcmdinfo_rssi) compounds this with an independent defect: it passes the wire-derived variable len as the destination size argument rather than sizeof(value), so any AT response line longer than 128 bytes overflows the stack buffer with attacker-influenced content. The line length is produced by net_buf_findcrlf(), which accumulates bytes across the entire net_buf fragment chain without a 128-byte ceiling, meaning the defect path is reachable whenever the modem emits an overlong +KCELLMEAS line. Affected data sources include operator-scan results, +CGCONTRDP IP/DNS fields, socket indications, and neighbour-cell reports. All handlers execute in the modem driver's dedicated RX kernel thread, so any corruption is kernel-side. Affected versions confirmed by ENISA EUVD-2026-61175: Zephyr 2.4.0 through 4.4.1.

Know when the next one hits your stack

  • 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 (zephyrproject) PRIMARY 6.4 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
vuln.today AI 6.4 MEDIUM

Adjacent radio vector and high complexity reflect rogue base station prerequisite; A:H for reliable kernel crash; C:L and I:L for bounded stack memory exposure and NUL-write integrity impact.

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

Primary rating from Vendor (zephyrproject).

CVSS VectorVendor: zephyrproject

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 20:34 EUVD

DescriptionCVE.org

The Sierra Wireless HL7800 cellular modem driver (drivers/modem/vendor_standalone/hl7800.c, located at drivers/modem/hl7800.c in v4.4.0 and earlier) parses AT responses with roughly twenty handlers that call net_buf_linearize(value, sizeof(value), *buf, 0, len) into a 128-byte stack buffer and then write value[out_len] = 0. Because net_buf_linearize() (lib/net_buf/buf.c) can return a count equal to its destination-length argument, a field that exactly fills the buffer makes the terminating NUL land one byte past the end, a single-byte out-of-bounds write into adjacent stack memory.

The +KCELLMEAS cell-measurement handler on_cmd_atcmdinfo_rssi() is worse: it passed the wire length len as the destination size (net_buf_linearize(value, len, *buf, 0, len)), so a response line longer than 128 bytes overflows the value stack buffer with attacker-influenceable content. The line length comes from net_buf_findcrlf(), which accumulates bytes across the whole net_buf fragment chain and is not bounded to 128, so an over-long line reaches the defect.

The data originates from the cellular modem over UART, driven by the network: operator-scan results, +CGCONTRDP IP/DNS info, socket indications, and +KCELLMEAS neighbour-cell reports. An attacker able to shape what the modem emits - a rogue base station, a compromised modem baseband, or a remote peer feeding oversized response framing - can drive a line past 128 bytes. The handlers run in the driver's RX thread in kernel context, so the corruption is kernel-side.

The +KCELLMEAS path is a full stack buffer overflow whose worst case is code execution in kernel context and whose floor is a reliable crash; the remaining sites are single-byte NUL out-of-bounds writes. Exploitation requires the modem to emit an over-long AT response line, giving high attack complexity over an adjacent (cellular radio) vector. The fix passes sizeof(dst) - 1 (and correct explicit bounds for the IMSI and +KCELLMEAS sites) so the terminator always stays in bounds.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche embedded IoT modem driver, specific HL7800 hardware only
Data Quality
6 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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