Skip to content
Emerging threatsMedium

CVE-2018-5378Quagga Memory Corruption

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.

Scores

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

Exploit maturity

None known

ATLAS score

29/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

98 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 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.