# CVE-2020-1678: Junos OS and Junos OS Evolved:  RPD can crash due to a slow memory leak.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-400
- **Published:** 2020-10-16T20:31:33.681Z
- **Modified:** 2026-06-17T03:02:10.980Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 19.4, \< 19.4R2; \>= 20.1, \< 20.1R1-S4, 20.1R2
- Anyone running Juniper Networks Junos OS Evolved 19.4-EVO; \>= 20.1-EVO, \< 20.1R1-S4-EVO, 20.1R2-EVO

## Description

On Juniper Networks Junos OS and Junos OS Evolved platforms with EVPN configured, receipt of specific BGP packets causes a slow memory leak. If the memory is exhausted the rpd process might crash. If the issue occurs, the memory leak could be seen by executing the "show task memory detail \| match policy \| match evpn" command multiple times to check if memory (Alloc Blocks value) is increasing. root@device\> show task memory detail \| match policy \| match evpn ------------------------ Allocator Memory Report ------------------------ Name \| Size \| Alloc DTXP Size \| Alloc Blocks \| Alloc Bytes \| MaxAlloc Blocks \| MaxAlloc Bytes Policy EVPN Params 20 24 3330678 79936272 3330678 79936272 root@device\> show task memory detail \| match policy \| match evpn ------------------------ Allocator Memory Report ------------------------ Name \| Size \| Alloc DTXP Size \| Alloc Blocks \| Alloc Bytes \| MaxAlloc Blocks \| MaxAlloc Bytes Policy EVPN Params 20 24 36620255 878886120 36620255 878886120 This issue affects: Juniper Networks Junos OS 19.4 versions prior to 19.4R2; 20.1 versions prior to 20.1R1-S4, 20.1R2; Juniper Networks Junos OS Evolved: 19.4 versions; 20.1 versions prior to 20.1R1-S4-EVO, 20.1R2-EVO; 20.2 versions prior to 20.2R1-EVO; This issue does not affect: Juniper Networks Junos OS releases prior to 19.4R1. Juniper Networks Junos OS Evolved releases prior to 19.4R1-EVO.

## Affected and fixed versions

- Juniper Networks Junos OS: \>= 19.4, \< 19.4R2; \>= 20.1, \< 20.1R1-S4, 20.1R2 (cvelist)
- Juniper Networks Junos OS Evolved: 19.4-EVO; \>= 20.1-EVO, \< 20.1R1-S4-EVO, 20.1R2-EVO (cvelist)

## Mitigation

- Vendor workaround: There are no viable workarounds for this issue.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-1678. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-1678.md
Affected: Juniper Networks Junos OS >= 19.4, < 19.4R2; >= 20.1, < 20.1R1-S4, 20.1R2; Juniper Networks Junos OS Evolved 19.4-EVO; >= 20.1-EVO, < 20.1R1-S4-EVO, 20.1R2-EVO
Fixed in: Juniper Networks Junos OS 19.4R2, Juniper Networks Junos OS 20.1R1-S4, Juniper Networks Junos OS Evolved 20.1R1-S4-EVO

Steps:
1. Search this machine and project for Juniper Networks Junos OS, Juniper Networks Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-1678 being exploited?

There is no confirmed exploitation: CVE-2020-1678 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-1678?

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2020-1678?

Juniper Networks Junos OS \>= 19.4, \< 19.4R2; \>= 20.1, \< 20.1R1-S4, 20.1R2; Juniper Networks Junos OS Evolved 19.4-EVO; \>= 20.1-EVO, \< 20.1R1-S4-EVO, 20.1R2-EVO.

### Is there a fix for CVE-2020-1678?

Yes. Fixed in Juniper Networks Junos OS 19.4R2, Juniper Networks Junos OS 20.1R1-S4, Juniper Networks Junos OS Evolved 20.1R1-S4-EVO. Vendor workaround: There are no viable workarounds for this issue.

### How do I check if I'm affected by CVE-2020-1678?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://kb.juniper.net/JSA11075>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-1678>

HTML: <https://flawdb.com/CVE-2020-1678> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-1678>
