Read the docs

OCSP: Empty byName responder ID crashes Zeek

Priority LOW 38Published · Updated

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's OCSP analyzer copies data from an in-memory OpenSSL BIO into a Zeek string. With an empty byName responder ID, the BIO holds zero bytes, and by default a read from it returns -1, which is passed into a Zeek StringVal as the length. Copying SIZE_MAX bytes from a small buffer then crashes Zeek. Remote systems can send these packets, so the flaw is a denial-of-service risk in Zeek 8.0.9 and earlier and 8.2.1 and earlier.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Description of issue Zeek's OCSP analyzer uses an in-memory OpenSSL BIO and copies data into a Zeek string. With an empty name, the bio contains zero bytes. By default, a read from an empty memory bio returns a length of -1, which is passed on as the length into a Zeek StringVal, which leads to a crash when trying to copy SIZE_MAX bytes from a small buffer. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. ### Fix included The patch uses the OpenSSL function `BIO_set_mem_eof_return` to set the return value for empty bios to 0. Found by Anthropic using agents to study the security of open-source projects, with Ada Logics validating and reporting.

Why it matters now

Fix Fixed zeek (zeek): 8.0.10, 8.2.2, 9.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—zeek (zeek)<=8.0.9, <=8.2.18.0.10, 8.2.2, 9.0.0Patch availableGHSA-j48p-9pm3-pgpx
  • zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.10, 8.2.2, 9.0.0 Patch available GHSA-j48p-9pm3-pgpx

Remediation

Upgrade to Zeek 8.0.10, 8.2.2 or 9.0.0. The patch uses BIO_set_mem_eof_return to set the return value for empty BIOs to 0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-j48p-9pm3-pgpx zeek (zeek) Fixed in 8.0.10, 8.2.2, 9.0.0 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-j48p-9pm3-pgpx

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences