CVEBrief

Home / Juniper Networks / Junos OS / CVE-2024-21587

CVE-2024-21587: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?

CVE-2024-21587 is an exceptional condition mishandled vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Junos OS before 20.4R3-S9, Junos OS from 21.2 before 21.2R3-S7, Junos OS from 21.3 before 21.3R3-S5 and 6 more (CVE record by juniper). Fixed in 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5 and 2 more (CVE record by juniper). Severity: Medium (6.5, CVSS 3.1, from juniper).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:33 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:39 UTC
Affected
Junos OS before 20.4R3-S9, Junos OS from 21.2 before 21.2R3-S7, Junos OS from 21.3 before 21.3R3-S5 and 6 more
CVE record by juniper
Fixed in
20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5 and 2 more
CVE record by juniper
Severity
Medium 6.5
CVSS 3.1 from juniper
Exploit odds (EPSS)
0.28% in 30 days
higher than 22% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-21587?

Junos OS: MX Series: Memory leak in bbe-smgd process if BFD liveness detection for DHCP subscribers is enabled

An Improper Handling of Exceptional Conditions vulnerability in the broadband edge subscriber management daemon (bbe-smgd) of Juniper Networks Junos OS on MX Series allows an attacker directly connected to the vulnerable system who repeatedly flaps DHCP subscriber sessions to cause a slow memory leak, ultimately leading to a Denial of Service (DoS). Memory can only be recovered by manually restarting bbe-smgd. This issue only occurs if BFD liveness detection for DHCP subscribers is enabled. Systems without BFD liveness detection enabled are not vulnerable to this issue. Indication of the issue can be observed by periodically executing the 'show system processes extensive' command, which will indicate an increase in memory allocation for bbe-smgd. A small amount of memory is leaked every time a DHCP subscriber logs in, which will become visible over time, ultimately leading to memory starvation. user@junos> show system processes extensive | match bbe-smgd 13071 root 24 0 415M 201M select 0 0:41 7.28% bbe-smgd{bbe-smgd} 13071 root 20 0 415M 201M select 1 0:04 0.00% bbe-smgd{bbe-smgd} ... user@junos> show system processes extensive | match bbe-smgd 13071 root 20 0 420M 208M select 0 4:33 0.10% bbe-smgd{bbe-smgd} 13071 root 20 0 420M 208M select 0 0:12 0.00% bbe-smgd{bbe-smgd} ... This issue affects Juniper Networks Junos OS on MX Series: * All versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S2; * 22.4 versions earlier than 22.4R2-S2, 22.4R3; * 23.2 versions earlier than 23.2R1-S1, 23.2R2.

From the CVE record by juniper, last updated June 3, 2025, 14:05 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Juniper NetworksJunos OS
MX Series
before 20.4R3-S9
from 21.2 before 21.2R3-S7
from 21.3 before 21.3R3-S5
from 21.4 before 21.4R3-S5
from 22.1 before 22.1R3-S4
from 22.2 before 22.2R3-S3
from 22.3 before 22.3R3-S2
from 22.4 before 22.4R2-S2, 22.4R3
from 23.2 before 23.2R1-S1, 23.2R2
20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S2, 22.4R2-S2, 22.4R3, 23.2R1-S1, 23.2R2

As the CVE record by juniper states it, last updated June 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
juniperjunos20.4operating system
juniperjunos21.2operating system
juniperjunos21.3operating system
juniperjunos21.4operating system
juniperjunos22.1operating system
juniperjunos22.2operating system
juniperjunos22.3operating system
juniperjunos22.4operating system
juniperjunos23.2operating system

NVD analysis (status Modified), last modified June 17, 2026, 07:09 UTC.

How severe is CVE-2024-21587?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hjuniper
Medium 6.5CVSS 3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-21587 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 8, 2025)
EPSS
0.28% probability of exploitation activity in the next 30 days, percentile 21.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

The following software releases have been updated to resolve this specific issue: Junos OS 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S2, 22.4R2-S2, 22.4R3, 23.2R1-S1, 23.2R2, 23.4R1, and all subsequent releases.

Is there a workaround? (from the CVE record)

This issue can be mitigated by disabling BFD liveness detection for DHCP subscribers. Service can be restored by manually restarting the bbe-smgd process periodically.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 27, 2023
Published
January 12, 2024, 00:51 UTC
CVE record updated
June 3, 2025, 14:05 UTC by juniper
NVD
Modified, last modified June 17, 2026, 07:09 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Junos OS?

Every CVE in Junos OS

Questions about CVE-2024-21587

Is CVE-2024-21587 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.28% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Juniper Networks Junos OS are affected by CVE-2024-21587?

Junos OS before 20.4R3-S9, Junos OS from 21.2 before 21.2R3-S7, Junos OS from 21.3 before 21.3R3-S5, Junos OS from 21.4 before 21.4R3-S5, Junos OS from 22.1 before 22.1R3-S4, Junos OS from 22.2 before 22.2R3-S3 and 3 more, per the CVE record by juniper. The tables above give every range the sources list.

Which version fixes CVE-2024-21587?

20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4 and 22.2R3-S3, per the CVE record by juniper. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-21587?

Medium (6.5, CVSS 3.1, from juniper). The severity table above shows each score with its source.

Where is the official record of CVE-2024-21587?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.