Advisory · CVE-2026-101981
Stack overflow in Junos rpd lets an adjacent LDP peer run code via label mappings
A stack-based buffer overflow in the routing protocol daemon (rpd) of Junos OS and Junos OS Evolved lets an unauthenticated adjacent LDP peer crash rpd or execute arbitrary code with a malformed LDP Label Mapping message. Juniper rates it CVSS 3.1 8.8.
- Vendor
- Juniper Networks
- Product
- Junos OS
- Identifier / CWE
- CVE-2026-101981
CWE-121 - Action timing
- Immediate
Explain it like I’m five
An LDP neighbor does not need credentials, just a label mapping message built to spill the stack.
- 01LDP peer connects
An unauthenticated adjacent peer establishes or uses an LDP session.
- 02Malformed label mapping sent
The peer sends a Label Mapping message crafted to overflow rpd.
- 03Code runs or rpd crashes
The stack overflow executes arbitrary code or crashes the daemon.
What happened
Juniper disclosed CVE-2026-101981 in its October 2026 security release: a stack-based buffer overflow (CWE-121) in rpd. An unauthenticated adjacent LDP peer can send a malformed LDP Label Mapping message to crash rpd or execute arbitrary code. The vendor record lists the affected releases starting with the 23.4 line.
Juniper’s JSA112187 lists the affected service releases and the October 2026 service release thresholds that carry the fix. Match your exact release to the advisory rather than guessing here.
What to do
- Inventory every Junos OS deployment, including test, training, and individually managed instances.
- Apply the vendor fix or upgrade exactly as directed in the linked vendor bulletin or advisory.
- Restrict network access to Junos OS while remediation is underway, especially for internet-facing instances.
- Review application and server logs for rpd crashes following LDP session activity and label mapping messages with unusual sizes.
- Check for accounts, content, or configuration created outside normal change processes, and rotate exposed credentials where access cannot be ruled out.
- Verify the deployed version or patch level after remediation.
Management note
MPLS cores trust LDP neighbors implicitly. Patch core routers and confirm LDP sessions only exist where they should.