CVE-2026-12522
Last modified
CVE-2026-12522 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The HL7800 cellular modem driver's +CGCONTRDP: response handler on_cmd_atcmdinfo_ipaddr() in drivers/modem/vendor_standalone/hl7800.c parses the PDP-context dynamic parameters (local address, subnet mask, gateway, and DNS servers) that the cellular network assigns to the device. The response is linearized into a 256-byte stack buffer, after which each address field length is computed from comma/. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
The HL7800 cellular modem driver's +CGCONTRDP: response handler on_cmd_atcmdinfo_ipaddr() in drivers/modem/vendor_standalone/hl7800.c parses the PDP-context dynamic parameters (local address, subnet mask, gateway, and DNS servers) that the cellular network assigns to the device. The response is linearized into a 256-byte stack buffer, after which each address field length is computed from comma/. delimiter positions in the network-supplied data and used directly as the length argument to strncpy() into the fixed 64-byte stack buffer temp_addr_str (and the 16-byte iface_ctx.dns_v4_string). Because the field length is derived from attacker-controlled delimiter positions and was not bounded against the destination buffer, a single field can be far larger than 64 bytes. A malicious or impersonated cellular network (for example a rogue base station) can return a crafted +CGCONTRDP response with an overlong address field, causing strncpy() to write past temp_addr_str on the modem worker thread's stack, plus an out-of-bounds NUL write at temp_addr_str[addr_len]. No device-side privileges or user interaction are required: the device itself issues the AT+CGCONTRDP=1 query during normal network attach and parses whatever the network returns. The overflow corrupts adjacent stack memory in supervisor context, yielding at minimum a remotely triggerable crash and potentially control-flow hijacking on targets without stack protection. The fix bounds every field length against its destination buffer (temp_addr_str and dns_v4_string) before each copy, rejecting overlong fields.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 2.4.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12522?
How severe is CVE-2026-12522?
How do I fix CVE-2026-12522?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12516The Fediverse Embeds WordPress plugin before 1.5.8 does not …5.3
- CVE-2026-12517The Fediverse Embeds WordPress plugin before 1.5.8 does not …5.3
- CVE-2026-12518A local privilege escalation vulnerability in the Logitech L…8.5
- CVE-2026-12519The WNC-M14A2A LTE-M modem driver mishandles unsolicited %NO…5
- CVE-2026-1252The Events Listing Widget plugin for WordPress is vulnerable…6.4
- CVE-2026-12520The Sierra Wireless HL7800 cellular modem driver (drivers/mo…6.4
- CVE-2026-12523Summary Cloudflare quiche's HTTP/3 layer was discovered t…7.5
- CVE-2026-12525The Redux Framework WordPress plugin before 4.5.13 does not …8.8
- CVE-2026-12526The Advanced Custom Fields: Extended WordPress plugin before…8.1
- CVE-2026-12527A broken authorization boundary in the RTSP media delivery p…6
- CVE-2026-12528A flaw was found in 389 Directory Server in the __aclp__norm…5.4
- CVE-2026-12529A security vulnerability has been detected in SourceCodester…7.3
Are you affected by CVE-2026-12522?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
