Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21591

HIGH 7.1EPSS 23%

Junos OS: An unauthenticated adjacent attacker sending a malformed DHCP packet causes jdhcpd to crash

Mitigation

  • Upgrade Junos OS to 24.2R2 or later.
  • Vendor workaround: There are no known workarounds for this issue.

Who should check

  • Anyone running Juniper Networks Junos OS >= 23.1, < 23.2R2-S3; >= 23.4, < 23.4R2-S3; >= 24.2, < 24.2R2

Vulnerability facts

Affected
Juniper Networks Junos OS >= 23.1, < 23.2R2-S3; >= 23.4, < 23.4R2-S3; >= 24.2, < 24.2R2
Fixed in
Juniper Networks Junos OS 23.2R2-S3, Juniper Networks Junos OS 23.4R2-S3, Juniper Networks Junos OS 24.2R2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v4.0, CNA)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/AU:Y/R:U/V:C/RE:M/U:GreenOpen in CVSS calculator
Show all 16 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: Low
  • AU: Y
  • R: U
  • V: C
  • RE: M
  • U: Green
EPSS
0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
CWE
CWE-805
Published
Modified

Description

A Buffer Access with Incorrect Length Value vulnerability in the jdhcpd daemon of Juniper Networks Junos OS, when DHCP snooping is enabled, allows an unauthenticated, adjacent, attacker to send a DHCP packet with a malformed DHCP option to cause jdhcp to crash creating a Denial of Service (DoS) condition. Continuous receipt of these DHCP packets using the malformed DHCP Option will create a sustained Denial of Service (DoS) condition. This issue affects Junos OS: * from 23.1 before 23.2R2-S3, * from 23.4 before 23.4R2-S3, * from 24.2 before 24.2R2. This issue isn't applicable to any versions of Junos OS before 23.1R1. This issue doesn't affect vSRX Series which doesn't support DHCP Snooping. This issue doesn't affect Junos OS Evolved. There are no indicators of compromise for this issue.

Affected and fixed versions

Package / productAffectedFixedSource
Juniper Networks Junos OS>= 23.1, < 23.2R2-S3; >= 23.4, < 23.4R2-S3; >= 24.2, < 24.2R2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21591. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21591.md
Affected: Juniper Networks Junos OS >= 23.1, < 23.2R2-S3; >= 23.4, < 23.4R2-S3; >= 24.2, < 24.2R2
Fixed in: Juniper Networks Junos OS 23.2R2-S3, Juniper Networks Junos OS 23.4R2-S3, Juniper Networks Junos OS 24.2R2

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.

References

FAQ

Is CVE-2025-21591 being exploited?

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

How serious is CVE-2025-21591?

High: CVSS 7.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-21591?

Juniper Networks Junos OS >= 23.1, < 23.2R2-S3; >= 23.4, < 23.4R2-S3; >= 24.2, < 24.2R2.

Is there a fix for CVE-2025-21591?

Yes. Fixed in Juniper Networks Junos OS 23.2R2-S3, Juniper Networks Junos OS 23.4R2-S3, Juniper Networks Junos OS 24.2R2. Upgrade Junos OS to 24.2R2 or later. Vendor workaround: There are no known workarounds for this issue.

How do I check if I'm affected by CVE-2025-21591?

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.

Sponsors