CVE-2026-7656
Last modified
CVE-2026-7656 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. The IPv6 Neighbor Discovery handlers in subsys/net/ip/ipv6_nbr.c (handle_ra_input, handle_ns_input, handle_na_input) used an incorrect boolean expression that combined the RFC 4861 validity checks with the ICMPv6 code check using the wrong operator precedence: the form was ((length/hop/source/target checks) && (icmp_hdr->code != 0)). Because every legitimate ND message carries ICMPv6 code 0, an attacker setting code == 0 (the normal value) caused the entire predicate to evaluate false, so the packet was never dropped and all of the other checks were silently skipped. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
The IPv6 Neighbor Discovery handlers in subsys/net/ip/ipv6_nbr.c (handle_ra_input, handle_ns_input, handle_na_input) used an incorrect boolean expression that combined the RFC 4861 validity checks with the ICMPv6 code check using the wrong operator precedence: the form was ((length/hop/source/target checks) && (icmp_hdr->code != 0)). Because every legitimate ND message carries ICMPv6 code 0, an attacker setting code == 0 (the normal value) caused the entire predicate to evaluate false, so the packet was never dropped and all of the other checks were silently skipped. The bypassed checks include the mandatory Hop Limit == 255 verification (which proves an ND packet originated on-link and was not forwarded) and, for Router Advertisements, the requirement that the source be a link-local address, as well as multicast-target sanity checks. As a result, an adjacent on-link attacker — and, because the Hop-Limit-255 guard is bypassed, potentially a remote/off-link attacker whose packets would otherwise be rejected — can have forged Router Advertisement, Neighbor Solicitation, and Neighbor Advertisement messages accepted. A forged RA lets the attacker reconfigure the victim's default router, on-link prefixes (SLAAC), MTU, reachable/retransmit timers, and (with CONFIG_NET_IPV6_RA_RDNSS) DNS servers, while forged NS/NA enable neighbor-cache poisoning, enabling man-in-the-middle, traffic redirection, and denial of service. The flaw is an input-validation/authentication weakness rather than a memory-safety issue: the underlying packet-parsing primitives (net_pkt_get_data, net_pkt_read, net_pkt_skip) are independently bounds-safe and the validated length is the true buffer length, so skipping the length check causes no out-of-bounds access. The defect has existed since the logic was introduced in 2018 and shipped in all releases through v4.4.0; it is fixed by splitting the condition so any failing check drops the packet.
Metrics
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | <= 4.4.1 |
References
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cpjw-rvwx-ph9fExploit, Patch, Vendor Advisory
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cpjw-rvwx-ph9fExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-7656?
How severe is CVE-2026-7656?
How do I fix CVE-2026-7656?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- 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-7650The E2Pdf – Export Pdf Tool for WordPress plugin for WordPre…6.4
- CVE-2026-7651The User Registration & Membership – Free & Paid Memberships…5.3
- CVE-2026-7652The LatePoint plugin for WordPress is vulnerable to Account …5.3
- CVE-2026-7653A security flaw has been discovered in r-huijts mcp-server-r…6.3
- CVE-2026-7654The Admin Columns plugin for WordPress is vulnerable to PHP …8.8
- CVE-2026-7655The SureCart plugin for WordPress is vulnerable to privilege…8.1
- CVE-2026-7657IBM Langflow OSS 1.0.0 through 1.10.3 Langflow could allow s…6.5
- CVE-2026-7658IBM Langflow OSS 1.0.0 through 1.10.3 does not properly vali…6.5
- CVE-2026-7659The Advanced Social Media Icons plugin for WordPress is vuln…6.4
- CVE-2026-7660The Easy Updates Manager plugin for WordPress is vulnerable …6.1
- CVE-2026-7661The Bootstrap Shortcode plugin for WordPress is vulnerable t…6.4
- CVE-2026-7662The ePaperFlip Publisher plugin for WordPress is vulnerable …6.4
Are you affected by CVE-2026-7656?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
