# CVE-2025-21591: Junos OS: An unauthenticated adjacent attacker sending a malformed DHCP packet causes jdhcpd to crash

- Vendor: Juniper Networks, Junos OS
- Severity: HIGH (CVSS 4.0 7.1)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA96448, https://supportportal.juniper.net/JSA96448
- Published: 2025-04-09; updated: 2025-04-09
- Page: https://patchtonight.com/cve/CVE-2025-21591/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 23.1 | 23.2R2-S3 or later |
| Junos OS 23.4 | 23.4R2-S3 or later |
| Junos OS 24.2 | 24.2R2 or later |
| Junos OS 0 | Not affected |

## The vendor's 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.

## Workarounds

There are no known workarounds for this issue.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA96448)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
