CVE-2018-5380 Memory corruption in bgpd

Medium 4.3 Published Updated

A buffer overflow in Quagga's BGP daemon allows attackers to cause a denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-5380?

CVE-2018-5380 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 19 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2018-5380?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Quagga Quagga, Siemens Ruggedcom Rox Ii Firmware.

How do I fix CVE-2018-5380?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-5380 being exploited?

There is no known exploitation of CVE-2018-5380 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLSA-2026-1778881024, CLSA-2026-1779131341, CVE-2018-1000066, GHSA-265f-c4jh-jcfq, UBUNTU-CVE-2018-5380.

Is CVE-2018-5380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free