{"id":"CVE-2022-36440","aliases":["ALSA-2023:6434","CLSA-2025-1762363302","DEBIAN-CVE-2022-36440","DLA-3573-1","EUVD-2022-39150","GHSA-cpmq-crvm-2w5p","RHSA-2023:6434","UBUNTU-CVE-2022-36440"],"status":"published","title":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01624,"percentile":0.76477,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-617"],"published":"2023-04-03T00:00:00Z","modified":"2026-11-03T08:02:21Z","fixes":[{"ecosystem":"Debian:12","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:9","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-11.el9_3.alma.1"}]}],"bundled":4},{"source":"osv","ecosystem":"AlmaLinux:9","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-11.el9_3.alma.1"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-5.el9.2.alma.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-5.el9.2.alma.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"Debian:12","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.5.1-1.1+deb10u1"}]}],"versions":["6.0.2-2","6.0.2-2+deb10u1","6.0.2-2+deb10u2","7.2-1","7.2.1-1","7.3.1-1","7.4-1","7.4-1.1","7.4-2","7.5-1","7.5.1-1","7.5.1-1.1"],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"frrouting","product":"frrouting"}],"references":[{"url":"https://github.com/spwpun/pocs","tags":["x_transferred","Third Party Advisory","package"]},{"url":"https://github.com/spwpun/pocs/blob/main/frr-bgpd.md","tags":["x_transferred","Exploit","Third Party Advisory","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GM66PNHGCXZU66LQCTP2FSJLFF6CVMSI/","tags":["vendor-advisory","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HU4PKLUVB5CTMOVQ2GV33TNUNMJCBGD/","tags":["vendor-advisory","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBXEXL2ZQBWCBLNUP6P67FHECXQWSK3L/","tags":["vendor-advisory","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5495","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00020.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36440","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HU4PKLUVB5CTMOVQ2GV33TNUNMJCBGD/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BBXEXL2ZQBWCBLNUP6P67FHECXQWSK3L/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GM66PNHGCXZU66LQCTP2FSJLFF6CVMSI/"},{"url":"https://github.com/advisories/GHSA-cpmq-crvm-2w5p"},{"url":"https://access.redhat.com/errata/RHSA-2023:6434","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36440","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-40302","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-40318","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-43681","tags":["report"]},{"url":"https://bugzilla.redhat.com/2184468","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196088","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196090","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196091","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2023-6434.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1762363302.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36440.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-36440","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2168855","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2184468","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196088","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196090","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196091","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2216912","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6434.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36440","tags":["advisory","report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40302","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40302","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40318","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40318","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-43681","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43681","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-36440","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-36440","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2024-08-03T10:07:33.895Z","updated_at":"2026-11-02T14:34:35.615708Z"}],"euvd":[{"id":"EUVD-2022-39150","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2024-08-03T10:07:33Z","updated_at":"2026-11-03T03:25:25.768363Z"}],"ghsa":[{"id":"GHSA-cpmq-crvm-2w5p","title":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T18:32:07Z","modified":"2024-02-09T05:12:10Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:55:35.197353Z"}],"nvd":[{"id":"CVE-2022-36440","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T16:15:07.287Z","modified":"2026-06-17T04:53:27.61Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:07:37.020555Z"}],"osv":[{"id":"DEBIAN-CVE-2022-36440","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T16:15:07.287Z","modified":"2026-11-03T08:02:21.636160552Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"RHSA-2023:6434","title":"Red Hat Security Advisory: frr security and bug fix update","status":"published","published":"2024-09-16T12:10:17Z","modified":"2025-11-22T12:59:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"UBUNTU-CVE-2022-36440","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"withdrawn","published":"2023-04-03T16:15:00Z","modified":"2025-07-16T08:16:29.090971Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"ALSA-2023:6434","title":"Moderate: frr security and bug fix update","description":"FRRouting is free software that manages TCP/IP based routing protocols. It supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD. \n\nSecurity Fix(es):\n\n* frr: Reachable assertion in peek_for_as4_capability function (CVE-2022-36440)\n* frr: denial of service by crafting a BGP OPEN message with an option of type 0xff (CVE-2022-40302)\n* frr: denial of service by crafting a BGP OPEN message with an option of type in bgp_open_option_parse in the bgp_open.c 0xff (CVE-2022-40318)\n* frr: out-of-bounds read exists in the BGP daemon of FRRouting (CVE-2022-43681)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2023-11-07T00:00:00Z","modified":"2026-10-29T11:31:33.994975074Z","updated_at":"2026-11-02T15:27:52.091404Z"},{"id":"CLSA-2025-1762363302","title":"frr: Fix of 4 CVEs","description":"- CVE-2022-36440: fix heap-buffer-overflow in peek_for_as4_capability\n  when reading BGP OPEN extended optional parameters\n- CVE-2023-31490: fix insufficient stream data validation in BGP\n  prefix SID attributes processing\n- CVE-2023-38407: fix out-of-bounds read in BGP labeled unicast parsing\n- CVE-2023-41909: fix implicit withdrawal handling for BGP flowspec\n  without attributes","status":"published","published":"2025-11-05T17:21:48Z","modified":"2026-06-01T00:31:15.014962608Z","updated_at":"2026-11-02T15:43:42.427288Z"},{"id":"CVE-2022-36440","description":"A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2026-10-30T02:45:23.139509468Z","updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"DLA-3573-1","title":"frr - security update","status":"published","published":"2023-09-19T00:00:00Z","modified":"2026-03-09T01:20:43.491536Z","updated_at":"2026-11-02T15:46:11.734021Z"}]}}
