HOMEVULNERABILITIESCVE-2018-5381
MEDIUM

CVE-2018-5381

CWE-228Published: February 19, 2018· Updated: Jun 17, 2026

6.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2018-5381 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Vendors & Products

Canonical1 product(s)
ubuntu linux
Debian1 product(s)
debian linux
quagga1 product(s)
quagga
siemens2 product(s)
ruggedcom rox ii firmwareruggedcom rox ii
Source: NVD CPE · 9 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

Quick Facts

CVE IDCVE-2018-5381
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-228
CISA KEVNo
Affected4 vendor(s)
PublishedFeb 19, 2018

Related CVEs (CWE-228)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-5381 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.