CVE-2026-21901Junos OS and Junos OS Evolved: Configuration of a specific SSH option results in mgd crash
A NULL Pointer Dereference vulnerability in the management daemon (mgd) of Juniper Networks Junos OS and Junos OS Evolved allows a local, high-privileged attacker setting or deactivating a specific SSH configuration parameter to create a Denial of Service (DoS). A local high-privileged user configuring or deactivating a specific 'system services ssh' configuration parameter can exploit a null pointer dereference in one of the functions used by SSH. The function attempts to dereference a null pointer when accessing certain configuration data, resulting in an mgd process crash and restart. Continued execution of these configuration commands will create a sustained Denial of Service (DoS) condition. This issue affects: Junos OS: * from 22.3 before 22.3R3-S5; * from 22.4 before 22.4R3-S10; * from 23.2 before 23.2R2-S7; * from 23.4 before 23.4R2-S8. This issue does not affect Junos OS before 22.3R1. Junos OS Evolved: * from 22.3R1-EVO before 23.2R2-S7-EVO; * from 23.4 before 23.4R2-S8-EVO. This issue does not affect Junos OS Evolved before 22.3R1-EVO.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by juniper, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Juniper Networks Junos OS: affected: 22.3 to before 22.3R3-S5, 22.4 to before 22.4R3-S10, 23.2 to before 23.2R2-S7, 23.4 to before 23.4R2-S8; fixed in
22.3R3-S5,22.4R3-S10,23.2R2-S7,23.4R2-S8 - Juniper Networks Junos OS Evolved: affected: 23.2 to before 23.2R2-S7-EVO, 23.4 to before 23.4R2-S8-EVO; fixed in
23.2R2-S7-EVO,23.4R2-S8-EVO
Solution: The following software releases have been updated to resolve this specific issue: Junos OS: 22.3R3-S5, 22.4R3-S10, 23.2R2-S7, 23.4R2-S8, 24.2R1, and all subsequent releases. Junos OS Evolved: 23.2R2-S7-EVO, 23.4R2-S8-EVO, 24.2R1-EVO, and all subsequent releases.
Workaround: There are no direct workarounds for this issue. One of the following mitigations will prevent malicious exploitation: * Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators. * Utilize command authorization to limit the ability to enter config mode to trusted administrators.
Vendor advisories:
- https://supportportal.juniper.net/JSA110072 (vendor-advisory)
References
- https://github.com/orangecertcc/security-research/security/advisories/GHSA-g4f7-w2rc-hpj6
- https://supportportal.juniper.net/JSA110072
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.