# CVE-2022-22240: Junos OS and Junos OS Evolved: An rpd memory leak might be observed while running a specific cli command in a RIB sharding scenario

- Severity: Medium 5.5 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2022-10-18T02:46:42.415Z
- Modified: 2026-06-17T04:28:05.160Z
- Weaknesses: CWE-401, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: juniper

## Description

An Allocation of Resources Without Limits or Throttling and a Missing Release of Memory after Effective Lifetime vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a locally authenticated low privileged attacker to cause a Denial of Sevice (DoS). In a high-scaled BGP routing environment with rib-sharding enabled, two issues may occur when executing a specific CLI command. One is a memory leak issue with rpd where the leak rate is not constant, and the other is a temporary spike in rpd memory usage during command execution. This issue affects: Juniper Networks Junos OS 19.4 versions prior to 19.4R3-S9; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S2; 20.4 versions prior to 20.4R3-S1; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R1-S2, 21.2R2-S1, 21.2R3; 21.3 versions prior to 21.3R2. Juniper Networks Junos OS Evolved All versions prior to 20.4R3-S1-EVO; 21.1-EVO version 21.1R1-EVO and later versions; 21.2-EVO versions prior to 21.2R1-S2-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: from 19.4 before 19.4R3-S9; from 20.2 before 20.2R3-S5; from 20.3 before 20.3R3-S2; from 20.4 before 20.4R3-S1; from 21.1 before 21.1R3; from 21.2 before 21.2R1-S2, 21.2R2-S1, 21.2R3; from 21.3 before 21.3R2 (not affected: from unspecified before 19.2R1)
- Juniper Networks Junos OS Evolved: from unspecified before 20.4R3-S1-EVO; from 21.1R1-EVO before 21.1-EVO*; from 21.2-EVO before 21.2R1-S2-EVO, 21.2R3-EVO; from 21.3-EVO before 21.3R2-EVO
- juniper junos: 19.4; 20.2; 20.3; 20.4
- juniper junos_os_evolved: before 20.4; 20.4; 21.1; 21.2; 21.3

## References

- <https://kb.juniper.net/JSA69896> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-22240](https://www.cve.org/CVERecord?id=CVE-2022-22240), CVE Terms of Use, modified 2025-05-09
- NVD: [CVE-2022-22240](https://nvd.nist.gov/vuln/detail/CVE-2022-22240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-22240 · Whole record: https://cve.day/CVE-2022-22240.json · Rebuilt by cve.day 2026-11-25T22:58:15.801Z
