CVE-2022-36440
A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...
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.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2022-36440- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-36440- Updated
- 2026-11-02
EUVDEUVD-2022-39150 No score
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.
- Record
EUVD-2022-39150- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cpmq-crvm-2w5p
7.5
A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...
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.
- Record
GHSA-cpmq-crvm-2w5p- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-36440
7.5
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.
- Record
DEBIAN-CVE-2022-36440- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVRHSA-2023:6434
7.5
Red Hat Security Advisory: frr security and bug fix update
- Record
RHSA-2023:6434- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2022-36440
7.5
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.
- Record
UBUNTU-CVE-2022-36440- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:6434 No score
Moderate: frr security and bug fix update
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 AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2023:6434- Updated
- 2026-11-02
OSVCLSA-2025-1762363302 No score
frr: Fix of 4 CVEs
- CVE-2022-36440: fix heap-buffer-overflow in peek_for_as4_capability when reading BGP OPEN extended optional parameters
- CVE-2023-31490: fix insufficient stream data validation in BGP prefix SID attributes processing
- CVE-2023-38407: fix out-of-bounds read in BGP labeled unicast parsing
- CVE-2023-41909: fix implicit withdrawal handling for BGP flowspec without attributes
- Record
CLSA-2025-1762363302- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-36440- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
frrAlmaLinux:9 |
before 8.3.1-11.el9_3.alma.1 | 8.3.1-11.el9_3.alma.1 |
frr-selinuxAlmaLinux:9 |
before 8.3.1-11.el9_3.alma.1 | 8.3.1-11.el9_3.alma.1 |
frrTuxCare:AlmaLinux:9.2 |
before 8.3.1-5.el9.2.alma.tuxcare.els2 | 8.3.1-5.el9.2.alma.tuxcare.els2 |
frr-selinuxTuxCare:AlmaLinux:9.2 |
before 8.3.1-5.el9.2.alma.tuxcare.els2 | 8.3.1-5.el9.2.alma.tuxcare.els2 |
frrDebian:12 |
before 8.4.1-1 | 8.4.1-1 |
frrDebian:13 |
before 8.4.1-1 | 8.4.1-1 |
frrDebian:14 |
before 8.4.1-1 | 8.4.1-1 |
frrDebian:10 |
before 7.5.1-1.1+deb10u1, plus listed versions 6.0.2-26.0.2-2+deb10u16.0.2-2+deb10u27.2-17.2.1-1 Show 7 moreShow less7.3.1-17.4-17.4-1.17.4-27.5-17.5.1-17.5.1-1.1 |
7.5.1-1.1+deb10u1 |
frrRed Hat:enterprise_linux:9::appstream |
before 0:8.3.1-11.el9_3 | 0:8.3.1-11.el9_3 |
frr-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:8.3.1-11.el9_3 | 0:8.3.1-11.el9_3 |
frr-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:8.3.1-11.el9_3 | 0:8.3.1-11.el9_3 |
frr-selinuxRed Hat:enterprise_linux:9::appstream |
before 0:8.3.1-11.el9_3 | 0:8.3.1-11.el9_3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| 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-2022-36440 is a high vulnerability (CVSS 7.5) in Frrouting, published April 3, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.64%, the 76th percentile. Fixed in frr 8.3.1-11.el9_3.alma.1.
References
github.com/spwpun/pocs
github.com/spwpun/pocs/blob/main/frr-bgpd.md
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GM66PNHGCXZU66LQCTP2FSJLFF6CVMSI
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HU4PKLUVB5CTMOVQ2GV33TNUNMJCBGD
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBXEXL2ZQBWCBLNUP6P67FHECXQWSK3L
debian.org/security/2023/dsa-5495
Show 36 moreShow less
lists.debian.org/debian-lts-announce/2023/09/msg00020.html
nvd.nist.gov/vuln/detail/CVE-2022-36440
lists.fedoraproject.org/archives/list/[email protected]/message/3HU4PKLUVB5CTMOVQ2GV33TNUNMJCBGD
lists.fedoraproject.org/archives/list/[email protected]/message/BBXEXL2ZQBWCBLNUP6P67FHECXQWSK3L
lists.fedoraproject.org/archives/list/[email protected]/message/GM66PNHGCXZU66LQCTP2FSJLFF6CVMSI
github.com/advisories/GHSA-cpmq-crvm-2w5p
access.redhat.com/errata/RHSA-2023:6434
access.redhat.com/security/cve/CVE-2022-36440
access.redhat.com/security/cve/CVE-2022-40302
access.redhat.com/security/cve/CVE-2022-40318
access.redhat.com/security/cve/CVE-2022-43681
bugzilla.redhat.com/2184468
bugzilla.redhat.com/2196088
bugzilla.redhat.com/2196090
bugzilla.redhat.com/2196091
errata.almalinux.org/9/ALSA-2023-6434.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1762363302.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36440.json
security-tracker.debian.org/tracker/CVE-2022-36440
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2168855
bugzilla.redhat.com/show_bug.cgi?id=2184468
bugzilla.redhat.com/show_bug.cgi?id=2196088
bugzilla.redhat.com/show_bug.cgi?id=2196090
bugzilla.redhat.com/show_bug.cgi?id=2196091
bugzilla.redhat.com/show_bug.cgi?id=2216912
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6434.json
cve.org/CVERecord?id=CVE-2022-36440
cve.org/CVERecord?id=CVE-2022-40302
nvd.nist.gov/vuln/detail/CVE-2022-40302
cve.org/CVERecord?id=CVE-2022-40318
nvd.nist.gov/vuln/detail/CVE-2022-40318
cve.org/CVERecord?id=CVE-2022-43681
nvd.nist.gov/vuln/detail/CVE-2022-43681
ubuntu.com/security/CVE-2022-36440