VULNERABILITY INTELLIGENCE

CVE-2018-5381

CVSS score6.5 MEDIUM
EPSS probability30.16%
CISA KEVNot currently listed
Published2018-02-19
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.

Weakness classification

  • CWE-228: Improper Handling of Syntactically Invalid Structure
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Primary references