# CVE-2024-39556: Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow

- Severity: High 7.1 (CVSS:4.0, scored by juniper) `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2024-07-10T22:38:44.894Z
- Modified: 2026-06-17T07:42:13.170Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: juniper

## Description

A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Service (DoS) or privileged code execution.

By exploiting the 'set security certificates' command with a crafted certificate file, a malicious attacker with access to the CLI could cause a crash of the command management daemon (mgd), limited to the local user's command interpreter, or potentially trigger a stack-based buffer overflow.


This issue affects:

 Junos OS: 


  *  All versions before 21.4R3-S7, 
  *  from 22.1 before 22.1R3-S6, 
  *  from 22.2 before 22.2R3-S4, 
  *  from 22.3 before 22.3R3-S3, 
  *  from 22.4 before 22.4R3-S2, 
  *  from 23.2 before 23.2R2, 
  *  from 23.4 before 23.4R1-S1, 23.4R2; 




Junos OS Evolved: 


  *  All versions before 21.4R3-S7-EVO, 
  *  from 22.1-EVO before 22.1R3-S6-EVO, 
  *  from 22.2-EVO before 22.2R3-S4-EVO, 
  *  from 22.3-EVO before 22.3R3-S3-EVO, 
  *  from 22.4-EVO before 22.4R3-S2-EVO, 
  *  from 23.2-EVO before 23.2R2-EVO, 
  *  from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 21.4R3-S7; from 22.1 before 22.1R3-S6; from 22.2 before 22.2R3-S4; from 22.3 before 22.3R3-S3; from 22.4 before 22.4R3-S2; from 23.2 before 23.2R2; from 23.4 before 23.4R1-S1, 23.4R2
- Juniper Networks Junos OS Evolved: before 21.4R3-S7-EVO; from 22.1-EVO before 22.1R3-S6-EVO; from 22.2-EVO before 22.2R3-S4-EVO; from 22.3-EVO before 22.3R3-S3-EVO; from 22.4-EVO before 22.4R3-S2-EVO; from 23.2-EVO before 23.2R2-EVO; from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO
- juniper junos_os_evolved: before 21.4r3-s7-evo; from 22.1-evo before 22.1r3-s6-evo; from 22.2-evo before 22.2r3-s4-evo; from 22.3-evo before 22.3r3-s3-evo; from 22.4-evo before 22.4r3-s3-evo; from 23.2-evo before 23.2r2-evo; before 21.4; 21.4; 22.1; 22.2; 22.3; 22.4
- juniper junos_os: before 21.4r3-s7; from 22.1 before 22.1r3-s6; from 22.2 before 22.2r3-s4; from 22.3 before 22.3r3-s3; from 22.4 before 22.4r3-s2; from 23.2 before 23.2r2; from 23.4 before 23.4r1-s1; from 23.4 before 23.4r2; from 23.4-evo before 23.4r1-s1-evo; from 23.4-evo before 23.4r2-evo
- juniper junos: before 21.4; 21.4; 22.1; 22.2; 22.3; 22.4

## Every score

- juniper: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- juniper: CVSS:4.0 7.1 High `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://supportportal.juniper.net/JSA83016> (mitigation, vendor-advisory)

## Sources

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

---

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