Description
The WNC-M14A2A LTE-M modem driver mishandles unsolicited %NOTIFYEV: events in on_cmd_socknotifyev() (drivers/modem/vendor_standalone/wncm14a2a.c). The response line is linearized into a fixed 40-byte stack buffer via net_buf_linearize(), which caps the copy at 39 bytes and returns out_len <= 39. The two quote-delimiter scanning loops, however, were bounded by len — the full CR/LF-delimited frame length returned by net_buf_findcrlf() — rather than by out_len.

When a %NOTIFYEV: line longer than 39 bytes contains no " within the linearized region, the loop indices p1/p2 walk past value[39] and read adjacent stack memory until a stray quote byte is found or the index reaches len. The over-read string is then passed to strncmp()/atoi()/LOG_*, and if a quote byte is found out of bounds the subsequent value[p2] = '\0' performs a single-NUL out-of-bounds stack write at an attacker-influenced offset.

The %NOTIFYEV: payload carries network-derived content (LTIME network time, SIB1 base-station system information, CSPS/RRCSTATE), so a rogue cellular base station, a malicious or compromised modem module, or RF manipulation that induces an over-long notify line reaches the defect without any application interaction; the handler runs automatically on the unsolicited event in the modem RX thread.

The impact is out-of-bounds stack disclosure (into logs and parsing) and stack corruption that can crash the modem RX thread (denial of service). The write offset is only weakly controlled, so memory-safe code execution is not demonstrated. The fix bounds both scanning loops by out_len, keeping all accesses within the linearized buffer.
Published: 2026-08-17
Score: 5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an out-of-bounds read/write in Zephyr's WNC-M14A2A modem driver when it parses unsolicited %NOTIFYEV lines. The driver copies a line into a 40-byte stack buffer with a hard cap of 39 bytes before returning from net_buf_linearize, yet the quote-delimiter loops continue to process the full frame length. As a result, the loops can read past the 39-byte boundary and write a single null byte beyond the stack buffer, leaking adjacent memory content and potentially corrupting the modem receive thread. The crash manifests as a denial of service; the exploit does not currently demonstrate privilege escalation or arbitrary code execution.

Affected Systems

The flaw exists in the Zephyr Project's Zephyr RTOS, specifically within the WNC-M14A2A LTE-M modem driver. No specific version range was supplied, so any Zephyr build that includes the affected driver code is potentially vulnerable. Embedded systems with LTE-M modems that compile the Zephyr kernel are at risk, especially those that rely on unsolicited %NOTIFYEV events for real-time network information.

Risk and Exploitability

The CVSS score of 5.0 indicates a moderate risk level, but the EPSS score is unavailable and the vulnerability is not listed in CISA's KEV catalog. Attackers can trigger the flaw by making the modem receive an over-long %NOTIFYEV line through a rogue base station, a compromised modem module, or RF manipulation; no additional application interaction is required. Because the off-by-buffer write is only weakly controlled, the main threat is service interruption rather than confidentiality or integrity compromise.

Generated by OpenCVE AI on August 17, 2026 at 17:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Zephyr release that includes commit c516cb7c..., which bounds the scanning loops by the linearized buffer length.
  • If an updated release is not yet available, reconfigure the driver to reject unsolicited %NOTIFYEV lines longer than 39 bytes or disable socket-notify processing until a patch is applied.
  • Set up monitoring for modem receive thread crashes and alert the network operator when a denial of service is detected.

Generated by OpenCVE AI on August 17, 2026 at 17:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr

Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description The WNC-M14A2A LTE-M modem driver mishandles unsolicited %NOTIFYEV: events in on_cmd_socknotifyev() (drivers/modem/vendor_standalone/wncm14a2a.c). The response line is linearized into a fixed 40-byte stack buffer via net_buf_linearize(), which caps the copy at 39 bytes and returns out_len <= 39. The two quote-delimiter scanning loops, however, were bounded by len — the full CR/LF-delimited frame length returned by net_buf_findcrlf() — rather than by out_len. When a %NOTIFYEV: line longer than 39 bytes contains no " within the linearized region, the loop indices p1/p2 walk past value[39] and read adjacent stack memory until a stray quote byte is found or the index reaches len. The over-read string is then passed to strncmp()/atoi()/LOG_*, and if a quote byte is found out of bounds the subsequent value[p2] = '\0' performs a single-NUL out-of-bounds stack write at an attacker-influenced offset. The %NOTIFYEV: payload carries network-derived content (LTIME network time, SIB1 base-station system information, CSPS/RRCSTATE), so a rogue cellular base station, a malicious or compromised modem module, or RF manipulation that induces an over-long notify line reaches the defect without any application interaction; the handler runs automatically on the unsolicited event in the modem RX thread. The impact is out-of-bounds stack disclosure (into logs and parsing) and stack corruption that can crash the modem RX thread (denial of service). The write offset is only weakly controlled, so memory-safe code execution is not demonstrated. The fix bounds both scanning loops by out_len, keeping all accesses within the linearized buffer.
Title Out-of-bounds stack read and write in Zephyr WNC-M14A2A modem socket-notify parsing
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

Zephyrproject Zephyr
cve-icon MITRE

Status: PUBLISHED

Assigner: zephyr

Published:

Updated: 2026-08-17T18:22:49.443Z

Reserved: 2026-06-17T12:59:10.511Z

Link: CVE-2026-12519

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T17:16:38.867

Modified: 2026-08-17T19:16:24.140

Link: CVE-2026-12519

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:45:03Z

Weaknesses