Read the docs
TI-2018-03913 Aliases CVE-2018-5380GHSA-265f-c4jh-jcfq

Out-of-bounds read in Quagga bgpd

Priority LOW 36CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat.

Summary

The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables used for debug by 1 pointer value, based on input.

Why it matters now

EPSS 0.14836 96th percentileScored 2026-11-07
Fix Partial bgpd (Quagga): 1.2.3Red Hat: 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Quaggabgpdbpgd to before 1.2.31.2.3Patch availableCNA
  • bgpd VendorQuagga Affected bpgd to before 1.2.3 Fixed in 1.2.3 Patch available CNA

CPE configurations NVD · 9

CPEVersionsRoleVendor
cpe:2.3:a:quagga:quagga:*:*:*:*:*:*:*:*up to 1.2.2VulnerableQuagga
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*16.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*17.10VulnerableCanonical
cpe:2.3:o:siemens:ruggedcom_rox_ii_firmware:*:*:*:*:*:*:*:*before 2.13.0VulnerableSiemens
cpe:2.3:h:siemens:ruggedcom_rox_ii:-:*:*:*:*:*:*:*not specified by NVDRunning onSiemens
  • cpe:2.3:a:quagga:quagga:*:*:*:*:*:*:*:* Versions up to 1.2.2 Vulnerable ·Quagga
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
  • cpe:2.3:o:siemens:ruggedcom_rox_ii_firmware:*:*:*:*:*:*:*:* Versions before 2.13.0 Vulnerable ·Siemens
  • cpe:2.3:h:siemens:ruggedcom_rox_ii:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens

Remediation

  • Fix · CNA bgpd (Quagga) Fixed in 1.2.3

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Quagga bgpd — GLSA-201804-17

    4 records Highest priority Priority HIGH 2 HIGH, 1 MEDIUM, 1 LOW

    Other records, highest priority first

  • Advisory ·

    Quagga bgpd — USN-3573-1

    4 records Highest priority Priority HIGH 2 HIGH, 1 MEDIUM, 1 LOW

    Other records, highest priority first

Show 1 more group
  • Advisory ·

    Quagga bgpd — DSA-4115

    4 records Highest priority Priority HIGH 2 HIGH, 1 MEDIUM, 1 LOW

    Other records, highest priority first

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Not affected: 1 product
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-5380
  2. 2026-10-03 Alias added: GHSA-265f-c4jh-jcfq

References

  • TI-2018-03911 Memory corruption in Quagga bgpd CVSS 3.0HIGH 7.1
  • TI-2018-03912 Double free in Quagga bgpd CVSS 3.0CRITICAL 9.8
  • TI-2017-11946 The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote… CVSS 3.0HIGH 7.5
  • TI-2018-03914 Infinite loop in Quagga bgpd CVSS 3.0HIGH 7.5
  • TI-2017-03515 All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory… CVSS 3.0HIGH 7.5
  • TI-2016-02105 The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in… CVSS 3.0HIGH 8.1
See all 32 →

Sources