CVE-2026-12519: memory-safety in zephyrproject zephyr
CVE-2026-12519 is a memory safety vulnerability in the Zephyr project's WNC-M14A2A LTE-M modem driver. It mishandles unsolicited %NOTIFYEV: events by improperly bounding loops that scan for quote delimiters, leading to out-of-bounds stack reads and a single-byte out-of-bounds stack write. This can cause stack disclosure and crash the modem RX thread, resulting in denial of service. The vulnerability arises from network-derived content processed automatically without application interaction. The fix involves bounding the scanning loops correctly to prevent out-of-bounds access.
AI Analysis
Technical Summary
The WNC-M14A2A LTE-M modem driver in Zephyr improperly handles unsolicited %NOTIFYEV: events in the on_cmd_socknotifyev() function. The response line is copied into a fixed 40-byte stack buffer with a maximum of 39 bytes, but two quote-delimiter scanning loops use the full frame length rather than the capped length, allowing them to read past the buffer boundary. If the %NOTIFYEV: line is longer than 39 bytes and contains no quotes within the linearized region, the loops read adjacent stack memory until a quote is found or the end is reached. This leads to an out-of-bounds single-byte stack write at an attacker-influenced offset. The payload includes network-derived data such as network time and base-station information, so an attacker controlling the cellular environment can trigger this without application interaction. The impact includes stack memory disclosure and potential denial of service via modem RX thread crash. The vulnerability does not demonstrate memory-safe code execution. The fix bounds the scanning loops by the capped buffer length to prevent out-of-bounds access.
Potential Impact
The vulnerability allows out-of-bounds stack memory disclosure and a single-byte out-of-bounds stack write, which can corrupt the stack and crash the modem RX thread, causing denial of service. The write offset is weakly controlled, so arbitrary code execution is not demonstrated. The vulnerability can be triggered remotely by a rogue cellular base station or compromised modem module without user or application interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves bounding the scanning loops by the capped buffer length to prevent out-of-bounds access. Until an official fix is available, monitor vendor communications for updates. No generic mitigations are specifically recommended by the vendor advisory.
CVE-2026-12519: memory-safety in zephyrproject zephyr
Description
CVE-2026-12519 is a memory safety vulnerability in the Zephyr project's WNC-M14A2A LTE-M modem driver. It mishandles unsolicited %NOTIFYEV: events by improperly bounding loops that scan for quote delimiters, leading to out-of-bounds stack reads and a single-byte out-of-bounds stack write. This can cause stack disclosure and crash the modem RX thread, resulting in denial of service. The vulnerability arises from network-derived content processed automatically without application interaction. The fix involves bounding the scanning loops correctly to prevent out-of-bounds access.
CVSS v3.1
Score 5.0medium
Affected software
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
Technical Analysis
The WNC-M14A2A LTE-M modem driver in Zephyr improperly handles unsolicited %NOTIFYEV: events in the on_cmd_socknotifyev() function. The response line is copied into a fixed 40-byte stack buffer with a maximum of 39 bytes, but two quote-delimiter scanning loops use the full frame length rather than the capped length, allowing them to read past the buffer boundary. If the %NOTIFYEV: line is longer than 39 bytes and contains no quotes within the linearized region, the loops read adjacent stack memory until a quote is found or the end is reached. This leads to an out-of-bounds single-byte stack write at an attacker-influenced offset. The payload includes network-derived data such as network time and base-station information, so an attacker controlling the cellular environment can trigger this without application interaction. The impact includes stack memory disclosure and potential denial of service via modem RX thread crash. The vulnerability does not demonstrate memory-safe code execution. The fix bounds the scanning loops by the capped buffer length to prevent out-of-bounds access.
Potential Impact
The vulnerability allows out-of-bounds stack memory disclosure and a single-byte out-of-bounds stack write, which can corrupt the stack and crash the modem RX thread, causing denial of service. The write offset is weakly controlled, so arbitrary code execution is not demonstrated. The vulnerability can be triggered remotely by a rogue cellular base station or compromised modem module without user or application interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves bounding the scanning loops by the capped buffer length to prevent out-of-bounds access. Until an official fix is available, monitor vendor communications for updates. No generic mitigations are specifically recommended by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-17T12:59:10.511Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8339cebf8831d53935e2f6
Added to database: 08/17/2026, 16:41:50 UTC
Last enriched: 08/17/2026, 16:58:31 UTC
Last updated: 08/17/2026, 17:05:34 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.