Unbounded state growth in Zeek Modbus track-memmap policy script
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
Zeek versions up to and including 8.0.9 and 8.2.1 are affected. The Modbus track-memmap policy keeps device and slave tables with no expiration and no size limit, so they grow without bound. A remote attacker who can send Modbus packets to a monitored system can exhaust memory and cause denial of service, although the policy is not enabled by default.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Summary The track-memmap policy contains a table of devices, with each value being a table of slave. Neither table type has any expiration on the entries and there are no limits to their sizes. This allows them to grow unbounded. ### Details Two new script-level constants were added: `Modbus::max_device_registers` and `Modbus::max_slave_registers` that control the size of these tables. If either is exceeded, two new weirds were also added to report them: `modbus_max_device_registers_exceeded` and `modbus_max_slave_registers_exceeded` respectively. ### Proof of concept Proof of concept PCAP generator script can be found in the Zeek source code, used for the test: testing/btest/Traces/modbus/track-memmap-memory-exhaustion.pcap.py ### Impact This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. This is downgraded to a medium severity issue since the policy is not enabled by default.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zeek (zeek) | <=8.0.9, <=8.2.1 | 8.0.11, 9.0.1 | Patch available | GHSA-234h-hf84-23g5 |
- zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.11, 9.0.1 Patch available GHSA-234h-hf84-23g5
Remediation
Upgrade Zeek to version 8.0.11 or 9.0.1, which contain the fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-234h-hf84-23g5 zeek (zeek) Fixed in 8.0.11, 9.0.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-234h-hf84-23g5
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences