The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in Quagga before 1.0.20160309, when a certain VPNv4 configuration is used, relies on a Labeled-VPN SAFI routes-data length field during a data copy, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted packet.
https://security.gentoo.org/glsa/201610-03
http://www.ubuntu.com/usn/USN-2941-1
http://www.securityfocus.com/bid/84318
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
http://www.kb.cert.org/vuls/id/270232
http://www.debian.org/security/2016/dsa-3532
http://rhn.redhat.com/errata/RHSA-2017-0794.html
http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt
http://lists.opensuse.org/opensuse-updates/2016-03/msg00117.html
http://lists.opensuse.org/opensuse-updates/2016-03/msg00102.html
http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442