CVE-2026-12519: Out-of-bounds stack read and write in Zephyr WNC-M14A2A modem socket-notify parsing

Published Aug 17, 2026
·
Updated

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

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 outlen, keeping all accesses within the linearized buffer.

Affected Software

1 affected component
Zephyr WNC-M14A2A modem driver

Event History

Aug 17, 2026
CVE Published
via MITRE·04:18 PM
Data Sourced
via MITRE·04:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12519?

CVE-2026-12519 has a medium severity rating of 5.

2

What type of vulnerability is CVE-2026-12519?

CVE-2026-12519 is an out-of-bounds stack read and write vulnerability.

3

How does CVE-2026-12519 affect the Zephyr WNC-M14A2A modem driver?

CVE-2026-12519 affects the Zephyr WNC-M14A2A modem driver by mishandling unsolicited %NOTIFYEV: events.

4

What causes the issue in CVE-2026-12519?

The issue in CVE-2026-12519 is caused by linearizing a response line into a fixed 40-byte stack buffer.

5

How can I fix CVE-2026-12519?

To fix CVE-2026-12519, update the Zephyr WNC-M14A2A modem driver to the latest patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203