Memory exhaustion in Zeek KRB parser when reading AS-REQ packets
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 KRB parser allocates memory for each TCP AS-REQ request until the next EOF, even when the session reports a smaller size, so Zeek allocates far more memory than needed. A remote system that sends these packets can exhaust memory and cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Description of issue The KRB parser allocates memory for each TCP AS-REQ request until it reaches the next EOF, even if the session reported less memory required. This can cause Zeek to allocate considerably more memory than is required. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. ### Fix included The KRB parser now constrains the record objects created during parsing to the size reported by the packets. It also does some additional validation of the data, checking for repeated and invalid indexes. If the index validation fails, binpac exceptions are reported.
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-42p8-pr85-r6cj |
- zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.11, 9.0.1 Patch available GHSA-42p8-pr85-r6cj
Remediation
Upgrade Zeek to version 8.0.11 or 9.0.1. These versions constrain the record objects created during KRB parsing to the size reported by the packets and validate indexes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-42p8-pr85-r6cj zeek (zeek) Fixed in 8.0.11, 9.0.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-42p8-pr85-r6cj
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences