Unbounded memory growth in Zeek X509 and OCSP parsers
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 through 8.0.9 and through 8.2.1 are affected. The X509 and OCSP parsers load data from the stream into a string without any maximum length, so memory grows without bound on long connections. A remote attacker can send such packets to 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 X509 and OCSP parsers load data from the stream into a string object without any control to the maximum length. This can lead to unbounded memory growth for long connections. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. ### Fix included Two new script-level constants `X509::max_bytes` and `OCSP::max_bytes` were added that enforce maximum sizes of the string object. Weirds `x509_response_too_large` and `ocsp_response_too_large` were also added to report violations of the size limits. ### Reporter Found by the Canadian Communications Security Establishment.
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-vhc3-782q-hqjj |
- zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.11, 9.0.1 Patch available GHSA-vhc3-782q-hqjj
Remediation
Fixed in Zeek 8.0.11 and 9.0.1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-vhc3-782q-hqjj zeek (zeek) Fixed in 8.0.11, 9.0.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-vhc3-782q-hqjj
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences