# CVE-2018-0020: Junos OS: rpd daemon cores due to malformed BGP UPDATE packet

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, CNA) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: 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:** Remote, no login needed
- **EPSS:** 1.34% (percentile 71, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2018-04-11T19:00:00.000Z
- **Modified:** 2026-06-17T01:29:24.363Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 14.1X53, \< 14.1X53-D47; \>= 15.1, \< 15.1F6-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7; \>= 16.1, \< 16.1R3-S8, 16.1R4-S9, 16.1R5-S3, 16.1R6-S3, 16.1R7; \>= 16.1X65, \< 16.1X65-D47; \>= 16.2, \< 16.2R1-S6, 16.2R2-S5, 16.2R3; \>= 17.1, \< 17.1R2-S3, 17.1R3; \>= 17.2, \< 17.2R1-S3, 17.2R2-S1, 17.2R3; \>= 17.2X75, \< 17.2X75-D70; \>= 13.2R1, \< 13.2\*
- Anyone running Juniper Networks Junos OS \>= 15.1X49, \< 15.1X49-D130
- Anyone running Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D66
- Anyone running Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D58
- Anyone running Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D233
- Anyone running Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D471

## Description

Junos OS may be impacted by the receipt of a malformed BGP UPDATE which can lead to a routing process daemon (rpd) crash and restart. Receipt of a repeated malformed BGP UPDATEs can result in an extended denial of service condition for the device. This malformed BGP UPDATE does not propagate to other BGP peers. Affected releases are Juniper Networks Junos OS: 14.1X53 versions prior to 14.1X53-D47; 15.1 versions prior to 15.1F6-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7; 15.1X49 versions prior to 15.1X49-D130 on SRX; 15.1X53 versions prior to 15.1X53-D66 on QFX10K; 15.1X53 versions prior to 15.1X53-D58 on EX2300/EX3400; 15.1X53 versions prior to 15.1X53-D233 on QFX5200/QFX5110; 15.1X53 versions prior to 15.1X53-D471 on NFX; 16.1 versions prior to 16.1R3-S8, 16.1R4-S9, 16.1R5-S3, 16.1R6-S3, 16.1R7; 16.1X65 versions prior to 16.1X65-D47; 16.2 versions prior to 16.2R1-S6, 16.2R2-S5, 16.2R3; 17.1 versions prior to 17.1R2-S3, 17.1R3; 17.2 versions prior to 17.2R1-S3, 17.2R2-S1, 17.2R3; 17.2X75 versions prior to 17.2X75-D70; 13.2 versions above and including 13.2R1. Versions prior to 13.2R1 are not affected. Juniper SIRT is not aware of any malicious exploitation of this vulnerability. No other Juniper Networks products or platforms are affected by this issue.

## Affected and fixed versions

- Juniper Networks Junos OS: \>= 14.1X53, \< 14.1X53-D47; \>= 15.1, \< 15.1F6-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7; \>= 16.1, \< 16.1R3-S8, 16.1R4-S9, 16.1R5-S3, 16.1R6-S3, 16.1R7; \>= 16.1X65, \< 16.1X65-D47; \>= 16.2, \< 16.2R1-S6, 16.2R2-S5, 16.2R3; \>= 17.1, \< 17.1R2-S3, 17.1R3; \>= 17.2, \< 17.2R1-S3, 17.2R2-S1, 17.2R3; \>= 17.2X75, \< 17.2X75-D70; \>= 13.2R1, \< 13.2\* (cvelist)
- Juniper Networks Junos OS: \>= 15.1X49, \< 15.1X49-D130 (cvelist)
- Juniper Networks Junos OS: \>= 15.1X53, \< 15.1X53-D66 (cvelist)
- Juniper Networks Junos OS: \>= 15.1X53, \< 15.1X53-D58 (cvelist)
- Juniper Networks Junos OS: \>= 15.1X53, \< 15.1X53-D233 (cvelist)
- Juniper Networks Junos OS: \>= 15.1X53, \< 15.1X53-D471 (cvelist)

## Mitigation

- Upgrade Junos OS to 13.2\* or later.
- Upgrade Junos OS to 15.1X49-D130 or later.
- Upgrade Junos OS to 15.1X53-D66 or later.
- Upgrade Junos OS to 15.1X53-D58 or later.
- Upgrade Junos OS to 15.1X53-D233 or later.
- Upgrade Junos OS to 15.1X53-D471 or later.
- Vendor workaround: While there is no workaround, the risk associated with this issue can be mitigated by limiting BGP sessions only from trusted peers.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2018-0020.md
Affected: Juniper Networks Junos OS >= 14.1X53, < 14.1X53-D47; >= 15.1, < 15.1F6-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7; >= 16.1, < 16.1R3-S8, 16.1R4-S9, 16.1R5-S3, 16.1R6-S3, 16.1R7; >= 16.1X65, < 16.1X65-D47; >= 16.2, < 16.2R1-S6, 16.2R2-S5, 16.2R3; >= 17.1, < 17.1R2-S3, 17.1R3; >= 17.2, < 17.2R1-S3, 17.2R2-S1,…
Fixed in: Juniper Networks Junos OS 14.1X53-D47, Juniper Networks Junos OS 15.1F6-S10, Juniper Networks Junos OS 16.1R3-S8, Juniper Networks Junos OS 16.1X65-D47, Juniper Networks Junos OS 16.2R1-S6, Juniper Networks Junos OS 17.1R2-S3, Juniper Networks Junos OS 17.2R1-S3, Juniper Networks Junos OS 17.2X75-D…

Steps:
1. Search this machine and project for Juniper Networks Junos OS: 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-2018-0020 being exploited?

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

### How serious is CVE-2018-0020?

High: CVSS 7.5 (v3.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2018-0020?

Juniper Networks Junos OS \>= 14.1X53, \< 14.1X53-D47; \>= 15.1, \< 15.1F6-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7; \>= 16.1, \< 16.1R3-S8, 16.1R4-S9, 16.1R5-S3, 16.1R6-S3, 16.1R7; \>= 16.1X65, \< 16.1X65-D47; \>= 16.2, \< 16.2R1-S6, 16.2R2-S5, 16.2R3; \>= 17.1, \< 17.1R2-S3, 17.1R3; \>= 17.2, \< 17.2R1-S3, 17.2R2-S1, 17.2R3; \>= 17.2X75, \< 17.2X75-D70; \>= 13.2R1, \< 13.2\*; Juniper Networks Junos OS \>= 15.1X49, \< 15.1X49-D130; Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D66; Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D58; Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D233; Juniper Networks Junos OS \>= 15.1X53, \< 15.1X53-D471.

### Is there a fix for CVE-2018-0020?

Yes. Fixed in Juniper Networks Junos OS 14.1X53-D47, Juniper Networks Junos OS 15.1F6-S10, Juniper Networks Junos OS 16.1R3-S8, Juniper Networks Junos OS 16.1X65-D47, Juniper Networks Junos OS 16.2R1-S6, Juniper Networks Junos OS 17.1R2-S3, Juniper Networks Junos OS 17.2R1-S3, Juniper Networks Junos OS 17.2X75-D70, Juniper Networks Junos OS 13.2\*, Juniper Networks Junos OS 15.1X49-D130, Juniper Networks Junos OS 15.1X53-D66, Juniper Networks Junos OS 15.1X53-D58, Juniper Networks Junos OS 15.1X53-D233, Juniper Networks Junos OS 15.1X53-D471. Upgrade Junos OS to 13.2\* or later. Upgrade Junos OS to 15.1X49-D130 or later. Upgrade Junos OS to 15.1X53-D66 or later. Upgrade Junos OS to 15.1X53-D58 or later. Upgrade Junos OS to 15.1X53-D233 or later. Upgrade Junos OS to 15.1X53-D471 or later. Vendor workaround: While there is no workaround, the risk associated with this issue can be mitigated by limiting BGP sessions only from trusted peers.

### How do I check if I'm affected by CVE-2018-0020?

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/JSA10848>
- other: <http://www.securitytracker.com/id/1040788>

## 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-2018-0020>

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