CVE-2026-52942

HIGHPre-NVD 7.17.1
EchelonGraph scoreHIGH confidence

Score 7.1 from GitHub Security Advisory (severity: HIGH) published 2026-06-24. a secondary CVSS source baseline 7.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 4 sources updated this week
7.1
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 7.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_log: validate MAC header was set before dumping it

The fallback path of dump_mac_header() guards the MAC header access only with "skb->mac_header != skb->network_header", without checking skb_mac_header_was_set(). When the MAC header is unset, mac_header is 0xffff, so the test passes and skb_mac_header(skb) returns skb->head + 0xffff, ~64 KiB past the buffer; the loop then reads dev->hard_header_len bytes out of bounds into the kernel log.

This is reachable via the netdev logger: nf_log_unknown_packet() calls dump_mac_header() unconditionally, and an skb sent through AF_PACKET with PACKET_QDISC_BYPASS reaches the egress hook with mac_header still unset (__dev_queue_xmit(), which would reset it, is bypassed).

Add the skb_mac_header_was_set() check the ARPHRD_ETHER path already uses, and replace the open-coded MAC header length test with skb_mac_header_len(). Only skbs with an unset MAC header are affected; valid ones are dumped as before.

BUG: KASAN: slab-out-of-bounds in dump_mac_header (net/netfilter/nf_log_syslog.c:831) Read of size 1 at addr ffff88800ea49d3f by task exploit/148 Call Trace: kasan_report (mm/kasan/report.c:595) dump_mac_header (net/netfilter/nf_log_syslog.c:831) nf_log_netdev_packet (net/netfilter/nf_log_syslog.c:938 net/netfilter/nf_log_syslog.c:963) nf_log_packet (net/netfilter/nf_log.c:260) nft_log_eval (net/netfilter/nft_log.c:60) nft_do_chain (net/netfilter/nf_tables_core.c:285) nft_do_chain_netdev (net/netfilter/nft_chain_filter.c:307) nf_hook_slow (net/netfilter/core.c:619) nf_hook_direct_egress (net/packet/af_packet.c:257) packet_xmit (net/packet/af_packet.c:280) packet_sendmsg (net/packet/af_packet.c:3114) __sys_sendto (net/socket.c:2265)

CVSS v3
7.1
EG Score
7.1(high)
EPSS
2.4%
KEV
Not listed

Published

June 24, 2026

Last Modified

June 28, 2026

Advisory Details (7)

Auto-updated Jun 30, 2026
No patch confirmed yet.
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/d704ee9c7bc68a161684c51a7ac05b446dcf38d4
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/c38d41134085193efd5b237cf513ad5b3421a60d
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/befb8968a2abdfa948d5600ea7f7a509a292a590
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/af1b7699466f6556b351fa25d3dc870abfb5d310
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/a84b6fedbc97078788be78dbdd7517d143ad1a77
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8a81e336da685423f5b64aac4d571e63d674c52a
generic

netfilter: nf_log: validate MAC header was set before dumping it - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/65ef7397eb9a296e91839f5fd10be96f23d332e7

Vendor Advisories for CVE-2026-52942(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 51× in last 7d / 64× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 06:27 UTCEG score recompute
  2. 2026-07-07 06:27 UTCVendor advisory
  3. 2026-07-07 06:27 UTCGHSA enrichment
  4. 2026-07-06 18:39 UTCEG score recompute
  5. 2026-07-06 18:39 UTCVendor advisory
  6. 2026-07-06 18:38 UTCGHSA enrichment
  7. 2026-07-06 16:27 UTCEPSS rescore
  8. 2026-07-06 16:27 UTCEPSS rescore
  9. 2026-07-06 06:44 UTCEG score recompute
  10. 2026-07-06 06:44 UTCVendor advisory
  11. 2026-07-06 06:44 UTCGHSA enrichment
  12. 2026-07-05 19:00 UTCEG score recompute
  13. 2026-07-05 19:00 UTCVendor advisory
  14. 2026-07-05 19:00 UTCGHSA enrichment
  15. 2026-07-05 07:16 UTCEG score recompute
  16. 2026-07-05 07:16 UTCVendor advisory
  17. 2026-07-05 07:16 UTCGHSA enrichment
  18. 2026-07-05 02:30 UTCEPSS rescore
  19. 2026-07-04 19:32 UTCEG score recompute
  20. 2026-07-04 19:32 UTCVendor advisory
  21. 2026-07-04 19:32 UTCGHSA enrichment
  22. 2026-07-04 07:47 UTCEG score recompute
  23. 2026-07-04 07:47 UTCVendor advisory
  24. 2026-07-04 07:47 UTCGHSA enrichment
  25. 2026-07-04 06:31 UTCEPSS rescore
Show 39 more
  1. 2026-07-03 19:54 UTCEG score recompute
  2. 2026-07-03 19:54 UTCVendor advisory
  3. 2026-07-03 19:54 UTCGHSA enrichment
  4. 2026-07-03 08:10 UTCEG score recompute
  5. 2026-07-03 08:10 UTCVendor advisory
  6. 2026-07-03 08:10 UTCGHSA enrichment
  7. 2026-07-02 20:25 UTCEG score recompute
  8. 2026-07-02 20:25 UTCVendor advisory
  9. 2026-07-02 20:25 UTCGHSA enrichment
  10. 2026-07-02 08:41 UTCEG score recompute
  11. 2026-07-02 08:41 UTCVendor advisory
  12. 2026-07-02 08:41 UTCGHSA enrichment
  13. 2026-07-01 20:51 UTCEG score recompute
  14. 2026-07-01 20:51 UTCVendor advisory
  15. 2026-07-01 20:51 UTCGHSA enrichment
  16. 2026-07-01 15:07 UTCEPSS rescore
  17. 2026-07-01 09:07 UTCEG score recompute
  18. 2026-07-01 09:07 UTCVendor advisory
  19. 2026-07-01 09:07 UTCGHSA enrichment
  20. 2026-06-30 23:22 UTCEPSS rescore
  21. 2026-06-30 21:22 UTCEG score recompute
  22. 2026-06-30 21:22 UTCVendor advisory
  23. 2026-06-30 21:22 UTCGHSA enrichment
  24. 2026-06-30 09:36 UTCEG score recompute 7.10
  25. 2026-06-30 09:36 UTCVendor advisory
  26. 2026-06-30 09:36 UTCGHSA enrichment
  27. 2026-06-29 14:06 UTCEPSS rescore
  28. 2026-06-29 14:06 UTCEPSS rescore
  29. 2026-06-28 14:07 UTCEPSS rescore
  30. 2026-06-28 07:52 UTCMITRE cvelistV5CVSS v3 → 7.1 · severity → HIGH
  31. 2026-06-28 04:56 UTCEPSS rescore
  32. 2026-06-28 04:56 UTCEPSS rescore
  33. 2026-06-27 09:08 UTCEG score recompute
  34. 2026-06-27 09:08 UTCGHSA enrichment
  35. 2026-06-27 03:08 UTCEPSS rescore
  36. 2026-06-25 13:49 UTCEPSS rescore
  37. 2026-06-24 14:05 UTCEPSS rescore
  38. 2026-06-24 08:41 UTCEG score recompute
  39. 2026-06-24 08:40 UTCNVD updatefirst tracked

Frequently asked(5)

What is CVE-2026-52942?
CVE-2026-52942 is a high vulnerability published on June 24, 2026. In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_log: validate MAC header was set before dumping it The fallback path of dumpmacheader() guards the MAC header access only with "skb->macheader != skb->networkheader", without checking skbmacheaderwasset(). When the…
When was CVE-2026-52942 disclosed?
CVE-2026-52942 was first published in the National Vulnerability Database on June 24, 2026, with the most recent update on June 28, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-52942 actively exploited?
CVE-2026-52942 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2.4% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-52942?
CVE-2026-52942 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2026-52942?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-52942, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-52942

Explore →

Is Your Infrastructure Affected by CVE-2026-52942?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.