CVE catalog

CVE-2018-5381

UBUNTU-CVE-2018-5381

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
30.16% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianquagga80.99.23.1-1vulnerable
Debianquagga80.99.23.1-1+deb8u1vulnerable
Debianquagga80.99.23.1-1+deb8u2vulnerable
Debianquagga80.99.23.1-1+deb8u3vulnerable
Debianquagga80.99.23.1-1+deb8u4vulnerable
Debianquagga80.99.23.1-1+deb8u5fixed
Debianquagga91.1.1-3vulnerable
Debianquagga91.1.1-3+deb9u1vulnerable
Debianquagga91.1.1-3+deb9u2fixed
Ubuntuquagga14.040.99.22.1-2vulnerable
Ubuntuquagga14.040.99.22.4-1vulnerable
Ubuntuquagga14.040.99.22.4-2vulnerable
Ubuntuquagga14.040.99.22.4-3vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1.1vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1.2vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1.3vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1.4vulnerable
Ubuntuquagga14.040.99.22.4-3ubuntu1.5fixed
Ubuntuquagga16.040.99.24.1-2vulnerable
Ubuntuquagga16.040.99.24.1-2ubuntu1vulnerable
Ubuntuquagga16.040.99.24.1-2ubuntu1.1vulnerable
Ubuntuquagga16.040.99.24.1-2ubuntu1.2vulnerable
Ubuntuquagga16.040.99.24.1-2ubuntu1.3vulnerable
Ubuntuquagga16.040.99.24.1-2ubuntu1.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianquaggadeb80.99.23.1-1+deb8u5Not reportedDSA-4115-1Not reported
Debianquaggadeb91.1.1-3+deb9u2Not reportedDSA-4115-1Not reported
Ubuntuquaggadeb14.040.99.22.4-3ubuntu1.5Not reportedUBUNTU-CVE-2018-5381Not reported
Ubuntuquaggadeb16.040.99.24.1-2ubuntu1.4Not reportedUBUNTU-CVE-2018-5381Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References