Skip to content
Vulnerability Intelligence

CVE-2018-5378

Medium

The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid.

Published Feb 19, 2018 · Updated Feb 4, 2026

Key Facts

Patch immediately
  • CVE-2018-5378 is a medium-severity vulnerability (CVSS 5.9 v3.1) affecting Quagga, Ubuntu Linux (Canonical), Debian Linux and 7 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 74% probability of exploitation in the next 30 days.
  • Fixed versions are available, including bgpd 1.2.3, libfpm_pb0 1.1.1-17.13.1, libfpm_pb0 1.1.1-17.7.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

5.9

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H

EPSS (30-day exploit likelihood)

74%

Higher than 99.4% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2018-5378 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.

Affected Products

97 affected entries in total
ProductAffected versionsFixed in
QuaggaQuaggaSee advisory1.2.2
Ubuntu LinuxCanonical14.04, 16.04, 17.10n/a
Debian LinuxDebian8.0, 9.0n/a
libfpm_pb0suseSee advisory1.1.1-18.3.1
libospf0suseSee advisory1.1.1-18.3.1
5 more affected products in the full CVE brief

Patched Releases

bgpd

1.2.3

libfpm_pb0

1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

libospf0

1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

libospfapiclient0

1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

libquagga_pb0

1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

libzebra1

1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

Quagga

0.99.15-0.30.3.1, 0.99.22.1-16.4.1, 1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14, <=1.2.2

quagga-devel

0.99.15-0.30.3.1, 1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14

Timeline

  1. Publicly disclosed

    Feb 19, 2018

  2. Last updated

    Feb 4, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-125 Out-of-bounds Read

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2018-5378 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo