Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12520: memory-safety in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-12520cvecve-2026-12520
Published: 08/18/2026 (08/18/2026, 19:41:07 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-12520 is a memory-safety vulnerability in the Zephyr project's HL7800 cellular modem driver affecting versions 2.4.0 and later up to but not including 4.4.2. The flaw involves improper handling of AT response parsing that can cause a single-byte out-of-bounds write or a full stack buffer overflow in kernel context. An attacker controlling modem responses, such as via a rogue base station or compromised modem, can trigger this by sending oversized AT response lines. The most severe case allows code execution in kernel context, while lesser cases cause reliable crashes. The vulnerability has a CVSS score of 6.4 (medium severity).

CVSS v3.1

Score 6.4medium

Attack Vector
Adjacent Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=2.4.0 <4.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/18/2026, 20:08:51 UTC

Technical Analysis

The Sierra Wireless HL7800 cellular modem driver in Zephyr (up to v4.4.0) parses AT command responses into a fixed 128-byte stack buffer using net_buf_linearize(). Some handlers incorrectly allow the terminating NUL byte to be written one byte past the buffer boundary, causing a single-byte out-of-bounds write. The +KCELLMEAS handler is more severe, passing the unbounded line length as the buffer size, enabling a full stack buffer overflow if the line exceeds 128 bytes. This overflow can be triggered by attacker-controlled modem responses, such as from a rogue base station or compromised modem baseband, and runs in kernel RX thread context. The worst-case impact is kernel code execution; the minimum impact is a reliable kernel crash. The fix involves correctly bounding the buffer size to ensure the terminating NUL stays within the buffer.

Potential Impact

The vulnerability allows an attacker able to influence cellular modem AT responses to cause out-of-bounds memory writes in kernel context. The +KCELLMEAS handler's full stack buffer overflow can lead to kernel code execution, while other handlers cause single-byte out-of-bounds writes that may result in crashes or data corruption. Exploitation complexity is high due to the need to control modem output over the cellular radio vector. There are no known exploits in the wild. The CVSS score is 6.4, indicating medium severity with impacts on confidentiality, integrity, and high impact on availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves passing the correct buffer size (sizeof(dst) - 1) to prevent out-of-bounds writes. Until an official fix is available, limit exposure to untrusted cellular modem responses where possible. Monitor vendor channels for patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-17T12:59:12.042Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a84b773c6e8be0332ab79ca

Added to database: 08/18/2026, 19:50:11 UTC

Last enriched: 08/18/2026, 20:08:51 UTC

Last updated: 08/18/2026, 20:08:51 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses