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

- Severity: Medium 6.5 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:A/AC:L/PR:N/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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-01-12T00:51:30.990Z
- Modified: 2026-06-17T07:09:46.270Z
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: juniper

## Description

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.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: 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
- juniper junos: 20.4; 21.2; 21.3; 21.4

## Every score

- juniper: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://supportportal.juniper.net/JSA75725> (vendor-advisory)
- <https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L> (technical-description, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-21587 · Whole record: https://cve.day/CVE-2024-21587.json · Rebuilt by cve.day 2026-11-25T22:58:36.050Z
