Read the docs

Zeek SSH KEXINIT quadratic processing enables CPU exhaustion

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. Large client or server SSH key exchange algorithm lists in KEXINIT packets cause quadratic processing, so a remote attacker who sends such packets can exhaust CPU and deny service.

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

Description from the GitHub advisory

### Description of issue Large lists of client and server SSH key exchange algorithms in KEXINIT packets could result in CPU exhaustion due to quadratic complexity. ### Impact/Category This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. ### Fix included The SSH analyzer and scripts matching logic was switched to use a lookup table to avoid the worst-case quadratic runtime. Further, capping of all name-lists within KEXINIT packets was introduced, using 100 entries by default, generating weirds when exceeded. The following new constants and weirds were added: * `SSH::max_kexinit_kex_algorithms` / `SSH_max_kexinit_kex_algorithms_exceeded` * `SSH::max_kexinit_hostkey_algorithms` / `SSH_max_kexinit_hostkey_algorithms_exceeded` * `SSH::max_kexinit_encryption_algorithms` / `SSH_max_kexinit_encryption_algorithms_exceeded` * `SSH::max_kexinit_mac_algorithms` / `SSH_max_kexinit_mac_algorithms_exceeded` * `SSH::max_kexinit_compression_algorithms` / `SSH_max_kexinit_compression_algorithms_exceeded` * `SSH::max_kexinit_languages` / `SSH_max_kexinit_languages_exceeded`

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-5v93-pm35-5mq6
  • zeek (zeek) Vendor— Affected <=8.0.9, <=8.2.1 Fixed in 8.0.10, 8.2.2, 9.0.0 Patch available GHSA-5v93-pm35-5mq6

Remediation

Zeek 8.0.10, 8.2.2 and 9.0.0 fix the issue. The fix caps KEXINIT name-lists at 100 entries by default and adds the SSH::max_kexinit_* constants that control these limits.

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

  • Fix · GHSA-5v93-pm35-5mq6 zeek (zeek) Fixed in 8.0.10, 8.2.2, 9.0.0 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-5v93-pm35-5mq6

References

Sources

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