Read the docs

Excessive memory allocation in Zeek NCP analyzer

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

The NCP analyzer in Zeek up to and including 8.0.9 and 8.2.1 allocates the full length reported by a packet, even when the packet is shorter on the wire. It also grows its buffer geometrically, so a remote attacker can send packets that make Zeek allocate large amounts of memory. The NCP analyzer is not enabled by default.

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

Description from the GitHub advisory

### Description of issue The NCP analyzer will allocate the full length reported by the packet, even if the packet is smaller than that on the wire. It also uses a geometric algorithm when reallocating the buffer. Both of these cases can lead to Zeek allocating large amounts of memory. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. The NCP analyzer is not enabled by default, so the severity of this advisory is reduced to Medium. ### Fix included The NCP analyzer now lazily allocates the memory, checking the packet size on the wire against the reported size and not allocating more memory than necessary.

Why it matters now

Fix Fixed zeek (zeek): 8.0.11, 9.0.1

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.11, 9.0.1Patch availableGHSA-mr9q-gg3p-g8x9
  • zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.11, 9.0.1 Patch available GHSA-mr9q-gg3p-g8x9

Remediation

Upgrade Zeek to 8.0.11 or 9.0.1, which allocate memory lazily by checking the packet size on the wire against the reported size.

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

  • Fix · GHSA-mr9q-gg3p-g8x9 zeek (zeek) Fixed in 8.0.11, 9.0.1 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-mr9q-gg3p-g8x9

References

Sources

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