Security Advisory

CVE-2023-7242: EtherCAT Zeek Plugin Out-of-Bounds Read

Last updated:
  • CVE-2023-7242

CVE-2023-7242 is an out-of-bounds read (CWE-125) in CISA's ICSNPP EtherCAT plugin for the Zeek network monitor, commit d78dda6 and earlier: a crafted EtherCAT packet seen by the sensor can crash the Zeek process and leak memory. The flaw is in the monitoring tool, not in EtherCAT devices. NVD scores it 8.2; the fix is commit 3bca34c or later.

Vulnerability summary

CVSS base score

8.2

High severity

EPSS score (FIRST)

0.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2023-7242 · Source: NVD

Affected components

ComponentCPEVersion range
CISA ICSNPP EtherCAT Zeek plugin (icsnpp-ethercat)cpe:2.3:a:cisa:icsnpp-ethercat:*:*:*:*:*:zeek:*:*commit d78dda6 and earlier (NVD, CISA ICSA-24-051-02); fixed in commit 3bca34c or later

What does this mean for affected devices?

NVD's description: "Industrial Control Systems Network Protocol Parsers (ICSNPP) - Ethercat Zeek Plugin versions d78dda6 and prior are vulnerable to out-of-bounds read during the process of analyzing a specific Ethercat packet. This could allow an attacker to crash the Zeek process and leak some information in memory." NVD's Primary score is CVSS v3.1 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H), the same as CISA's as CNA, with CWE-125 (Out-of-bounds Read) from both. NVD's CPE configuration covers cisa:icsnpp-ethercat for Zeek up to and including d78dda6. The record was published on 2024-03-01 (NVD).

CISA released it in ICS advisory ICSA-24-051-02 on 2024-02-20, together with CVE-2023-7243 and CVE-2023-7244, all three against plugin commits up to d78dda6. The machine-readable version (CISA CSAF) credits Cameron Whitehead of HACK@UCF with reporting them and says no known public exploitation had been reported to CISA.

Where does the ICSNPP EtherCAT plugin run?

On passive OT monitoring sensors, not on EtherCAT devices. CISA's Malcolm network traffic analysis suite lists the plugin as its EtherCAT parser (Malcolm protocols), and any Zeek sensor that loads it parses every EtherCAT frame it sees on a mirror port or TAP. So the attacker does not need to reach the sensor itself: one crafted frame anywhere on the monitored segment reaches the parser. Our EtherCAT protocol security guide lists this advisory with the other EtherCAT-related CVEs and points out that it covers a monitoring tool, not EtherCAT masters or SubDevices; for a flaw in a TwinCAT EtherCAT driver itself, see CVE-2020-12494.

How do you fix it?

CISA's fix is to update the plugin to commit 3bca34c or later (ICSNPP EtherCAT repository). Between d78dda6 (June 2023) and 3bca34c (30 October 2023) every parser change comes from pull request #10 ("Memory work"), merged on 2023-10-10, which rewrote the parser in src/ECAT.cc (GitHub compare d78dda6...3bca34c). The plugin publishes no release tags, so check the commit your sensor build was made from, not a version number. Until the sensor is updated, CISA's general advice applies: keep the sensor's management interface off the internet and away from business networks, and treat the monitoring host as part of the control system zone it watches.

CVE-2023-7242 is not in the CISA KEV catalog as of 2026-11-18 (catalog version 2026.11.13). FIRST EPSS gives it 0.00478, the 42nd percentile, in the 2026-11-17 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD description: ICSNPP Ethercat Zeek Plugin versions d78dda6 and prior vulnerable to out-of-bounds read during the process of analyzing a specific Ethercat packet. This could allow an attacker to crash the Zeek process and leak some information in memory. NVD Primary and CISA CVSS v3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H; CWE-125 (Out-of-bounds Read); CPE cisa:icsnpp-ethercat (zeek) up to and including d78dda6; published 2024-03-01. — NVD
  • ICSA-24-051-02 released 2024-02-20: CVE-2023-7244, CVE-2023-7243 (CWE-787, 9.8) and CVE-2023-7242 (CWE-125, 8.2) in ICSNPP Ethercat Zeek Plugin <=d78dda6; vendor_fix: update to commit 3bca34c or later; reported by Cameron Whitehead (HACK@UCF); no known public exploitation reported to CISA. — CISA ICSA-24-051-02 (CSAF)
  • Compare d78dda6...3bca34c: 14 commits; PR #10 (branch memory_work) merged 2023-10-10 rewrote src/ECAT.cc; 3bca34c is the 2023-10-30 merge of PR #11; repository has no release tags. — GitHub cisagov/icsnpp-ethercat
  • Malcolm's protocol table lists EtherCAT parsed by cisagov/icsnpp-ethercat. — CISA Malcolm documentation
  • Not in the CISA KEV catalog, version 2026.11.13, checked 2026-11-18. — CISA KEV
  • EPSS 0.00478, percentile 0.41827, dataset 2026-11-17. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICS Advisory ICSA-24-051-02: ICSNPP Ethercat Zeek Plugin
  3. CISA CSAF: ICSA-24-051-02 (machine-readable advisory)
  4. GitHub: cisagov/icsnpp-ethercat commits d78dda6 to 3bca34c
  5. CISA Malcolm: supported protocols
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which versions are affected by CVE-2023-7242?

The CISA ICSNPP EtherCAT Zeek plugin at commit d78dda6 and every earlier commit; the fix is commit 3bca34c or later (per CISA ICSA-24-051-02 and NVD).

Does CVE-2023-7242 affect EtherCAT controllers or drives?

No. It is in the Zeek plugin that parses EtherCAT traffic on network monitoring sensors, such as those built with CISA's Malcolm. The CVE covers only that plugin, not EtherCAT masters or SubDevices (per CISA ICSA-24-051-02).

How is CVE-2023-7242 triggered?

A specially crafted EtherCAT packet that the plugin analyzes; the out-of-bounds read can crash the Zeek process and leak some memory (per NVD).

Is CVE-2023-7242 in the CISA KEV catalog?

No, not as of 2026-11-18 (catalog version 2026.11.13). FIRST EPSS gives it 0.00478, the 42nd percentile, in the 2026-11-17 dataset (per CISA KEV and FIRST EPSS).