CVE-2025-21591

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

AllVuln state: AFFECTED

HIGH
CVSS
7.4
3.1
EPSS
0.34%
Percentile 29.93%
CISA KEV
Not listed
Published
April 9, 2025
Updated April 28, 2025

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.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
attack vector
A
attack complexity
L
privileges required
N
user interaction
N
scope
C
CWE
CWE-805

What should I do?

Review the vendor remediation for fixed or recommended release 23.2R2-S3.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
23.2R2-S3
NOT_AFFECTED · EXACT
23.2R2-S3
AFFECTED · RANGE
23.4R2-S3
NOT_AFFECTED · EXACT
23.4R2-S3
AFFECTED · RANGE
24.2R2
NOT_AFFECTED · EXACT
24.2R2
NOT_AFFECTED · RANGE
23.1R1
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.2
First fixed: 24.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
23.4 → 23.4R2-S3
Required configuration: The required minimal configuration is DHCP is configured with DHCP snooping enabled with the mine-dhcp-client-options and/or mine-dhcpv6-client-options.  [ vlans <vlan-name> forwarding-options dhcp-security mine-dhcp-client-options ]   [ mine-dhcpv6-client-options ] Please note: It is atypical to use the above configuration with a DHCP server on the same device.
AFFECTED · RANGE
23.1 → 23.2R2-S3
Required configuration: The required minimal configuration is DHCP is configured with DHCP snooping enabled with the mine-dhcp-client-options and/or mine-dhcpv6-client-options.  [ vlans <vlan-name> forwarding-options dhcp-security mine-dhcp-client-options ]   [ mine-dhcpv6-client-options ] Please note: It is atypical to use the above configuration with a DHCP server on the same device.
AFFECTED · RANGE
24.2 → 24.2R2
Required configuration: The required minimal configuration is DHCP is configured with DHCP snooping enabled with the mine-dhcp-client-options and/or mine-dhcpv6-client-options.  [ vlans <vlan-name> forwarding-options dhcp-security mine-dhcp-client-options ]   [ mine-dhcpv6-client-options ] Please note: It is atypical to use the above configuration with a DHCP server on the same device.
NOT_AFFECTED · RANGE
23.1R1
Required configuration: The required minimal configuration is DHCP is configured with DHCP snooping enabled with the mine-dhcp-client-options and/or mine-dhcpv6-client-options.  [ vlans <vlan-name> forwarding-options dhcp-security mine-dhcp-client-options ]   [ mine-dhcpv6-client-options ] Please note: It is atypical to use the above configuration with a DHCP server on the same device.

Remediation

UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.1
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.