Read the docs

Out-of-bounds reads in Zeek UDP analyzer udp_contents events

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 versions up to and including 8.0.9 and 8.2.1 are affected. When a UDP packet's payload is shorter than its declared length, the udp_contents event builds a string from out-of-bounds data, which can crash Zeek. A remote attacker can send such packets, causing a denial of service, although the udp_contents event is not handled by default.

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

Description from the GitHub advisory

### Description of issue The `udp_contents` event would create strings based on network data using the declared length. But, if the payload length was less than the declared length, this would result in Zeek creating a string with out-of-bounds data. This may potentially crash Zeek. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. The `udp_contents` event is not handled by default, so this is considered a medium severity vulnerability. ### Fix included The UDP analyzer caps the data sent in the event to either the length value sent in the packet or the remaining data in the packet, whichever is smaller. Found by Kara Zaffarano and Kyle Elliott of Trail of Bits, in collaboration with OpenAI.

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-q48f-3qm2-j875
  • zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.10, 8.2.2, 9.0.0 Patch available GHSA-q48f-3qm2-j875

Remediation

Upgrade to Zeek 8.0.10, 8.2.2 or 9.0.0. The fixed releases cap the UDP event data at the smaller of the declared length and the remaining packet data.

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

  • Fix · GHSA-q48f-3qm2-j875 zeek (zeek) Fixed in 8.0.10, 8.2.2, 9.0.0 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-q48f-3qm2-j875

References

Sources

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