CVEBrief

Home / Juniper Networks / Junos OS / CVE-2021-0254

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

CVE-2021-0254 is an incorrect Calculation of Buffer Size 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, 21:09 UTC). Affected: Junos OS from 15.1 before 15.1R7-S9, Junos OS from 17.3 before 17.3R3-S11, Junos OS from 17.4 before 17.4R2-S13, 17.4R3-S4 and 11 more (CVE record by juniper). Fixed in 15.1R7-S9, 17.3R3-S11, 17.4R2-S13, 17.4R3-S4, 18.1R3-S12 and 2 more (CVE record by juniper). Severity: Critical (9.8, CVSS 3.1, from juniper).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 21:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 21:09 UTC
Affected
Junos OS from 15.1 before 15.1R7-S9, Junos OS from 17.3 before 17.3R3-S11, Junos OS from 17.4 before 17.4R2-S13, 17.4R3-S4 and 11 more
CVE record by juniper
Fixed in
15.1R7-S9, 17.3R3-S11, 17.4R2-S13, 17.4R3-S4, 18.1R3-S12 and 2 more
CVE record by juniper
Severity
Critical 9.8
CVSS 3.1 from juniper
Exploit odds (EPSS)
2.66% in 30 days
higher than 86% 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-2021-0254?

Junos OS: Remote code execution vulnerability in overlayd service

A buffer size validation vulnerability in the overlayd service of Juniper Networks Junos OS may allow an unauthenticated remote attacker to send specially crafted packets to the device, triggering a partial Denial of Service (DoS) condition, or leading to remote code execution (RCE). Continued receipt and processing of these packets will sustain the partial DoS. The overlayd daemon handles Overlay OAM packets, such as ping and traceroute, sent to the overlay. The service runs as root by default and listens for UDP connections on port 4789. This issue results from improper buffer size validation, which can lead to a buffer overflow. Unauthenticated attackers can send specially crafted packets to trigger this vulnerability, resulting in possible remote code execution. overlayd runs by default in MX Series, ACX Series, and QFX Series platforms. The SRX Series does not support VXLAN and is therefore not vulnerable to this issue. Other platforms are also vulnerable if a Virtual Extensible LAN (VXLAN) overlay network is configured. This issue affects Juniper Networks Junos OS: 15.1 versions prior to 15.1R7-S9; 17.3 versions prior to 17.3R3-S11; 17.4 versions prior to 17.4R2-S13, 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.2 versions prior to 18.2R2-S8, 18.2R3-S7; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R1-S8, 18.4R2-S7, 18.4R3-S7; 19.1 versions prior to 19.1R2-S2, 19.1R3-S4; 19.2 versions prior to 19.2R1-S6, 19.2R3-S2; 19.3 versions prior to 19.3R3-S1; 19.4 versions prior to 19.4R2-S4, 19.4R3-S1; 20.1 versions prior to 20.1R2-S1, 20.1R3; 20.2 versions prior to 20.2R2, 20.2R2-S1, 20.2R3; 20.3 versions prior to 20.3R1-S1.

From the CVE record by juniper, last updated September 16, 2024, 20:11 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Juniper NetworksJunos OSfrom 15.1 before 15.1R7-S9
from 17.3 before 17.3R3-S11
from 17.4 before 17.4R2-S13, 17.4R3-S4
from 18.1 before 18.1R3-S12
from 18.2 before 18.2R2-S8, 18.2R3-S7
from 18.3 before 18.3R3-S4
from 18.4 before 18.4R1-S8, 18.4R2-S7, 18.4R3-S7
from 19.1 before 19.1R2-S2, 19.1R3-S4
from 19.2 before 19.2R1-S6, 19.2R3-S2
from 19.3 before 19.3R3-S1
from 19.4 before 19.4R2-S4, 19.4R3-S1
from 20.1 before 20.1R2-S1, 20.1R3
and 2 more ranges
15.1R7-S9, 17.3R3-S11, 17.4R2-S13, 17.4R3-S4, 18.1R3-S12, 18.2R2-S8, 18.2R3-S7, 18.3R3-S4, 18.4R1-S8, 18.4R2-S7, 18.4R3-S7, 19.1R2-S2, 19.1R3-S4, 19.2R1-S6, 19.2R3-S2, 19.3R3-S1, 19.4R2-S4, 19.4R3-S1, 20.1R2-S1, 20.1R3, 20.2R2, 20.2R2-S1, 20.2R3, 20.3R1-S1

As the CVE record by juniper states it, last updated September 16, 2024. 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
juniperjunos15.1operating system
juniperjunos17.3operating system
juniperjunos17.4operating system
juniperjunos18.1operating system
juniperjunos18.2operating system
juniperjunos18.3operating system
juniperjunos18.4operating system
juniperjunos19.1operating system
juniperjunos19.2operating system
juniperjunos19.3operating system
juniperjunos19.4operating system
juniperjunos20.1operating system
juniperjunos20.2operating system
juniperjunos20.3operating system

NVD analysis (status Modified), last modified June 17, 2026, 03:29 UTC.

How severe is CVE-2021-0254?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hjuniper
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

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-2021-0254 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
2.66% probability of exploitation activity in the next 30 days, percentile 86.2 (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 15.1X49-D240, 15.1R7-S9, 17.3R3-S11, 17.4R2-S13, 17.4R3-S4, 18.1R3-S12, 18.2R2-S8, 18.2R3-S7, 18.3R3-S4, 18.4R1-S8, 18.4R2-S7, 18.4R3-S7, 19.1R2-S2, 19.1R3-S4, 19.2R1-S6, 19.2R3-S2, 19.3R3-S1, 19.4R2-S4, 19.4R3-S1, 20.1R2-S1, 20.1R3, 20.2R2, 20.2R2-S1, 20.2R3, 20.3R1-S1, 20.4R1, and all subsequent releases. This fix has also been proactively committed into other releases that might not be vulnerable to this issue.

Is there a workaround? (from the CVE record)

Two methods exist to mitigate this issue: 1. Limit the exploitable attack surface of critical infrastructure networking equipment by using access lists or firewall filters to limit access to the device via UDP only from trusted, administrative networks or hosts. 2. Disable Overlay OAM packet via the configuration command: 'set system processes overlay-ping-traceroute disable'

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

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

Reserved
October 27, 2020
Published
April 22, 2021, 19:37 UTC
CVE record updated
September 16, 2024, 20:11 UTC by juniper
NVD
Modified, last modified June 17, 2026, 03:29 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 21:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Junos OS?

Every CVE in Junos OS

Questions about CVE-2021-0254

Is CVE-2021-0254 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 21:09 UTC. FIRST's EPSS gives it a 2.66% 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-2021-0254?

Junos OS from 15.1 before 15.1R7-S9, Junos OS from 17.3 before 17.3R3-S11, Junos OS from 17.4 before 17.4R2-S13, 17.4R3-S4, Junos OS from 18.1 before 18.1R3-S12, Junos OS from 18.2 before 18.2R2-S8, 18.2R3-S7, Junos OS from 18.3 before 18.3R3-S4 and 8 more, per the CVE record by juniper. The tables above give every range the sources list.

Which version fixes CVE-2021-0254?

15.1R7-S9, 17.3R3-S11, 17.4R2-S13, 17.4R3-S4, 18.1R3-S12, 18.2R2-S8, 18.2R3-S7 and 18.3R3-S4, per the CVE record by juniper. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-0254?

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

Where is the official record of CVE-2021-0254?

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.