# CVE-2022-40318: frr: FRRouting is free software that manages TCP/IP based routing protocols

CVE-2022-40318 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2022-40318, released May 3, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-40318
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0198
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 3, 2023

## 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.   Security Fix(es):  * frr: Reachable assertion in peek_for_as4_capability function (CVE-2022-36440)  * frr: denial of service by crafting a BGP OPEN message with an option of type 0xff (CVE-2022-40302)  * 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)  * frr: out-of-bounds read exists in the BGP daemon of FRRouting (CVE-2022-43681)  For 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.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.3 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | frr Debian 12.15 (bookworm) | 8.4.1-1 | [DEBIAN-CVE-2022-40318](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40318.md) | May 3, 2023 |
| Linux | frr Debian 13.5 (trixie) | 8.4.1-1 | [DEBIAN-CVE-2022-40318](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40318.md) | May 3, 2023 |
| Linux | frr Debian 14 | 8.4.1-1 | [DEBIAN-CVE-2022-40318](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40318.md) | May 3, 2023 |
| Linux | frr RHEL 9 | 0:8.3.1-11.el9_3 | [RHSA-2023:6434](https://patchblox.com/security/data/fix/linux/rhsa-2023-6434.md) | Nov 7, 2023 |
| Linux | frr almalinux 9 | 8.3.1-11.el9_3.alma.1 | [ALSA-2023:6434](https://patchblox.com/security/data/fix/linux/alsa-2023-6434.md) | Nov 7, 2023 |
| Linux | frr ol 9 | 0:8.3.1-11.el9_3 | [ELSA-2023-6434](https://patchblox.com/security/data/fix/linux/elsa-2023-6434.md) | Nov 11, 2023 |
| Linux | frr-selinux RHEL 9 | 0:8.3.1-11.el9_3 | [RHSA-2023:6434](https://patchblox.com/security/data/fix/linux/rhsa-2023-6434.md) | Nov 7, 2023 |
| Linux | frr-selinux almalinux 9 | 8.3.1-11.el9_3.alma.1 | [ALSA-2023:6434](https://patchblox.com/security/data/fix/linux/alsa-2023-6434.md) | Nov 7, 2023 |
| Linux | frr-selinux ol 9 | 0:8.3.1-11.el9_3 | [ELSA-2023-6434](https://patchblox.com/security/data/fix/linux/elsa-2023-6434.md) | Nov 11, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
