Every CVE Search/ Get API key

CVE-2016-1245

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based...

9.8 CriticalFix available

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.66%Up 2.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
CVE-2016-1245
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
CVE-2016-1245
Updated
2026-11-02
EUVDEUVD-2016-2344 No score

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
EUVD-2016-2344
Updated
2026-11-03
GitHub AdvisoriesGHSA-578j-w5r9-87q8 9.8

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based...

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
GHSA-578j-w5r9-87q8
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 9.8

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
CVE-2016-1245
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:0794 6.5

Red Hat Security Advisory: quagga security and bug fix update

Record
RHSA-2017:0794
CVSS 3.0
6.5 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2016-1245 9.8

It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages. The root cause was relying on BUFSIZ to be compatible with a message size; however, BUFSIZ is system-dependent.

Record
UBUNTU-CVE-2016-1245
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2016-0374 No score

Updated quagga packages fix security vulnerability

It was discovered that the zebra daemon in the Quagga routing suite suffered from a stack-based buffer overflow when processing IPv6 Neighbor Discovery messages (CVE-2016-1245).

Record
MGASA-2016-0374
Updated
2026-11-02
OSVopenSUSE-SU-2024:10362-1 No score

libospf0-1.0.20160315-5.1 on GA media

These are all security issues fixed in the libospf0-1.0.20160315-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10362-1
Updated
2026-11-02
OSVSUSE-SU-2016:2569-1 No score

Security update for quagga

This update for quagga fixes the following issues:

  • CVE-2016-1245: Fix for a zebra stack overrun in IPv6 RA receive code (bsc#1005258).
Record
SUSE-SU-2016:2569-1
Updated
2026-11-02
OSVSUSE-SU-2016:2618-1 No score

Security update for quagga

This update for quagga fixes the following issue:

  • CVE-2016-1245: Fix for a zebra stack overrun in IPv6 RA receive code (bsc#1005258).
Record
SUSE-SU-2016:2618-1
Updated
2026-11-02
OSVSUSE-SU-2017:2294-1 No score

Security update for quagga

This update provides Quagga 1.1.1, which brings several fixes and enhancements.

Security issues fixed:

  • CVE-2017-5495: Telnet 'vty' interface DoS due to unbounded memory allocation. (bsc#1021669)
  • CVE-2016-1245: Stack overrun in IPv6 RA receive code. (bsc#1005258)

Bug fixes:

  • Do not enable zebra's TCP interface (port 2600) to use default UNIX socket for communication between the daemons. (fate#323170)

Between 0.99.22.1 and 1.1.1 the following improvements have been implemented:

  • Changed the default of 'link-detect' state, controlling whether zebra will respond to link-state events and consider an interface to be down when link is down. To retain the current behavior save your config before updating, otherwise remove the 'link-detect' flag from your config prior to updating. There is also a new global 'default link-detect (on|off)' flag to configure the global default.
  • Greatly improved nexthop resolution for recursive routes.
  • Event driven nexthop resolution for BGP.
  • Route tags support.
  • Transport of TE related metrics over OSPF, IS-IS.
  • IPv6 Multipath for zebra and BGP.
  • Multicast RIB support has been extended. It still is IPv4 only.
  • RIP for IPv4 now supports equal-cost multipath (ECMP).
  • route-maps have a new action 'set ipv6 next-hop peer-address'.
  • route-maps have a new action 'set as-path prepend last-as'.
  • 'next-hop-self all' to override nexthop on iBGP route reflector setups.
  • New pimd daemon provides IPv4 PIM-SSM multicast routing.
  • IPv6 address management has been improved regarding tentative addresses. This is visible in that a freshly configured address will not immediately be marked as usable.
  • Recursive route support has been overhauled. Scripts parsing 'show ip route' output may need adaptation.
  • A large amount of changes has been merged for ospf6d. Careful evaluation prior to deployment is recommended.
  • Multiprotocol peerings over IPv6 now try to find a more appropriate IPv4 nexthop by looking at the interface.
  • Relaxed bestpath criteria for multipath and improved display of multipath routes in 'show ip bgp'. Scripts parsing this output may need to be updated.
  • Support for iBGP TTL security.
Record
SUSE-SU-2017:2294-1
Updated
2026-11-02
OSVUSN-3110-1 No score

quagga vulnerability

David Lamparter discovered that Quagga incorrectly handled certain IPv6 router advertisements. A remote attacker could possibly use this issue to cause Quagga to crash, resulting in a denial of service.

Record
USN-3110-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
quagga
Debian:7
before 0.99.22.4-1+wheezy3+deb7u1, plus listed versions
0.99.21-4+wheezy10.99.21-4+wheezy20.99.22-10.99.22.1-10.99.22.1-2
Show 4 moreShow less
0.99.22.4-10.99.22.4-1+wheezy10.99.22.4-1+wheezy20.99.22.4-1+wheezy3
0.99.22.4-1+wheezy3+deb7u1
quagga
Debian:8
before 0.99.23.1-1+deb8u3, plus listed versions
0.99.23.1-10.99.23.1-1+deb8u10.99.23.1-1+deb8u2
0.99.23.1-1+deb8u3
quagga
Mageia:5
before 0.99.22.4-4.3.mga5
0.99.22.4-4.3.mga5
quagga-contrib
Red Hat:enterprise_linux:6::server
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga-debuginfo
Red Hat:enterprise_linux:6::server
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga-devel
Red Hat:enterprise_linux:6::server
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga
Red Hat:enterprise_linux:6::server
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga-contrib
Red Hat:enterprise_linux:6::workstation
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga-devel
Red Hat:enterprise_linux:6::workstation
before 0:0.99.15-14.el6
0:0.99.15-14.el6
Show 17 moreShow less
Affected packages
PackageAffectedFixed
quagga
Red Hat:enterprise_linux:6::workstation
before 0:0.99.15-14.el6
0:0.99.15-14.el6
quagga
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 0.99.15-0.29.1
0.99.15-0.29.1
quagga
SUSE:Linux Enterprise Server 11 SP4
before 0.99.15-0.29.1
0.99.15-0.29.1
quagga
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 0.99.15-0.29.1
0.99.15-0.29.1
quagga
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 0.99.22.1-15.1
0.99.22.1-15.1
quagga
SUSE:Linux Enterprise Server 12 SP1
before 0.99.22.1-15.1
0.99.22.1-15.1
quagga
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 0.99.22.1-15.1
0.99.22.1-15.1
quagga
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Server 12 SP2
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Server 12 SP3
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.1.1-17.3.3
1.1.1-17.3.3
quagga
Ubuntu:14.04:LTS
before 0.99.22.4-3ubuntu1.3, plus listed versions
0.99.22.1-20.99.22.4-10.99.22.4-20.99.22.4-30.99.22.4-3ubuntu10.99.22.4-3ubuntu1.10.99.22.4-3ubuntu1.2
0.99.22.4-3ubuntu1.3
quagga
Ubuntu:16.04:LTS
before 0.99.24.1-2ubuntu1.2, plus listed versions
0.99.24.1-20.99.24.1-2ubuntu10.99.24.1-2ubuntu1.1
0.99.24.1-2ubuntu1.2
quagga
openSUSE:Tumbleweed
before 1.0.20160315-5.1
1.0.20160315-5.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-1245 is a critical vulnerability (CVSS 9.8) in Quagga, published October 18, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.66%, the 89th percentile. Fixed in quagga 0.99.22.4-1+wheezy3+deb7u1.

References

Show 50 moreShow less
MoveEnter Open