Zeek TCP content extraction writes uninitialized heap memory
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 up to and including 8.2.1 are affected. When dpd_reassemble_first_packets is set to F and set_contents_file() extracts TCP payload to a file on disk, Zeek writes uninitialized heap memory for truncated TCP packets whose wire length is larger than the capture length. This memory safety flaw does not occur in default configurations because set_contents_file() is not used by default.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Description of issue When using `dpd_reassemble_first_packets=F` and `set_contents_file()` to extract TCP payload of a connection to a file on disk, Zeek would write uninitialized heap memory when observing truncated TCP packets where wire length is larger than capture length. ### Impact This is a memory safety vulnerability. `set_contents_file()` is not used in default configurations. ### Fix included Instead of writing wire length bytes, Zeek now only writes the captured bytes to file. Additionally, Zeek will not write trailing ethernet padding. Further, TCP data with sequence number lower than the starting sequence number is now discarded.
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-p7wh-94mw-76hv |
- zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.11, 9.0.1 Patch available GHSA-p7wh-94mw-76hv
Remediation
Upgrade Zeek to version 8.0.11 or to version 9.0.1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-p7wh-94mw-76hv zeek (zeek) Fixed in 8.0.11, 9.0.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-p7wh-94mw-76hv
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences