CVE-2016-1245
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.
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
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 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV: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 Critical
CVSS: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 Critical
CVSS: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 Medium
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
quaggaDebian: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 less0.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 |
quaggaDebian: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 |
quaggaMageia:5 |
before 0.99.22.4-4.3.mga5 | 0.99.22.4-4.3.mga5 |
quagga-contribRed Hat:enterprise_linux:6::server |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quagga-debuginfoRed Hat:enterprise_linux:6::server |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quagga-develRed Hat:enterprise_linux:6::server |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quaggaRed Hat:enterprise_linux:6::server |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quagga-contribRed Hat:enterprise_linux:6::workstation |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quagga-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quagga-develRed Hat:enterprise_linux:6::workstation |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
quaggaRed Hat:enterprise_linux:6::workstation |
before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
quaggaSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 0.99.15-0.29.1 | 0.99.15-0.29.1 |
quaggaSUSE:Linux Enterprise Server 11 SP4 |
before 0.99.15-0.29.1 | 0.99.15-0.29.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 0.99.15-0.29.1 | 0.99.15-0.29.1 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 0.99.22.1-15.1 | 0.99.22.1-15.1 |
quaggaSUSE:Linux Enterprise Server 12 SP1 |
before 0.99.22.1-15.1 | 0.99.22.1-15.1 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 0.99.22.1-15.1 | 0.99.22.1-15.1 |
quaggaSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Server 12 SP2 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Server 12 SP3 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
quaggaUbuntu: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 |
quaggaUbuntu: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 |
quaggaopenSUSE:Tumbleweed |
before 1.0.20160315-5.1 | 1.0.20160315-5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
rhn.redhat.com/errata/RHSA-2017-0794.html
security.gentoo.org/glsa/201701-48
securityfocus.com/bid/93775
bugzilla.redhat.com/show_bug.cgi?id=1386109
gossamer-threads.com/lists/quagga/users/31952
debian.org/security/2016/dsa-3695
Show 50 moreShow less
github.com/Quagga/quagga/commit/cfb1fae25f8c092e0d17073eaf7bd428ce1cd546
nvd.nist.gov/vuln/detail/CVE-2016-1245
github.com/advisories/GHSA-578j-w5r9-87q8
advisories.mageia.org/MGASA-2016-0374.html
bugs.mageia.org/show_bug.cgi?id=19619
lists.quagga.net/pipermail/quagga-users/2016-October/014478.html
access.redhat.com/errata/RHSA-2017:0794
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=674862
bugzilla.redhat.com/show_bug.cgi?id=770731
bugzilla.redhat.com/show_bug.cgi?id=839620
bugzilla.redhat.com/show_bug.cgi?id=842308
bugzilla.redhat.com/show_bug.cgi?id=862826
bugzilla.redhat.com/show_bug.cgi?id=981124
bugzilla.redhat.com/show_bug.cgi?id=1316571
bugzilla.redhat.com/show_bug.cgi?id=1331372
bugzilla.redhat.com/show_bug.cgi?id=1416013
security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_0794.json
access.redhat.com/security/cve/CVE-2013-2236
cve.org/CVERecord?id=CVE-2013-2236
nvd.nist.gov/vuln/detail/CVE-2013-2236
access.redhat.com/security/cve/CVE-2016-1245
cve.org/CVERecord?id=CVE-2016-1245
access.redhat.com/security/cve/CVE-2016-2342
cve.org/CVERecord?id=CVE-2016-2342
nvd.nist.gov/vuln/detail/CVE-2016-2342
mirror.easyname.at/nongnu//quagga/quagga-1.0.20160309.changelog.txt
access.redhat.com/security/cve/CVE-2016-4049
cve.org/CVERecord?id=CVE-2016-4049
nvd.nist.gov/vuln/detail/CVE-2016-4049
openwall.com/lists/oss-security/2016/04/27/7
access.redhat.com/security/cve/CVE-2017-5495
cve.org/CVERecord?id=CVE-2017-5495
nvd.nist.gov/vuln/detail/CVE-2017-5495
lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html
suse.com/support/update/announcement/2016/suse-su-20162569-1
bugzilla.suse.com/1005258
suse.com/security/cve/CVE-2016-1245
suse.com/support/update/announcement/2016/suse-su-20162618-1
suse.com/support/update/announcement/2017/suse-su-20172294-1
bugzilla.suse.com/1021669
bugzilla.suse.com/1034273
suse.com/security/cve/CVE-2017-5495
ubuntu.com/security/CVE-2016-1245
ubuntu.com/security/notices/USN-3110-1
suse.com/security/cve/CVE-2010-1674
suse.com/security/cve/CVE-2010-1675
suse.com/security/cve/CVE-2013-2236
suse.com/security/cve/CVE-2016-2342
suse.com/security/cve/CVE-2016-4049