{
  "id": "CVE-2025-52946",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-52946",
  "published_at": "2025-07-11T14:39:59.014Z",
  "title": "Junos OS and Junos OS Evolved: With traceoptions enabled, receipt of malformed AS PATH causes RPD crash",
  "vendor": "Juniper Networks",
  "product": "Junos OS",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/V:C/RE:M"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Juniper Networks Junos OS Junos OS and Junos"
  },
  "description": "A Use After Free vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Juniper Networks Junos OS Evolved allows an attacker sending a BGP update with a specifically malformed AS PATH to cause rpd to crash, resulting in a Denial of Service (DoS). Continuous receipt of the malformed AS PATH attribute will cause a sustained DoS condition.\n\nOn all Junos OS and Junos OS Evolved platforms, the rpd process will crash and restart when a specifically malformed AS PATH is received within a BGP update and traceoptions are enabled.\n\nThis issue only affects systems with BGP traceoptions enabled and requires a BGP session to be already established.  Systems without BGP traceoptions enabled are not impacted by this issue.\n\n\n\nThis issue affects:\n\n Junos OS:\n\n\n\n  *  All versions before 21.2R3-S9, \n  *  all versions of 21.4,\n  *  from 22.2 before 22.2R3-S6, \n  *  from 22.4 before 22.4R3-S5, \n  *  from 23.2 before 23.2R2-S3, \n  *  from 23.4 before 23.4R2-S4, \n  *  from 24.2 before 24.2R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 22.4R3-S5-EVO, \n  *  from 23.2-EVO before 23.2R2-S3-EVO, \n  *  from 23.4-EVO before 23.4R2-S4-EVO, \n  *  from 24.2-EVO before 24.2R2-EVO.\n\n\n\n\n\n\n\nThis is a more complete fix for previously published CVE-2024-39549 (JSA83011).",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s7:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s8:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:*:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Juniper Networks",
        "product": "Junos OS",
        "ranges": [
          "\u003c 21.2R3-S9",
          "\u003e= 21.4, \u003c *",
          "\u003e= 22.2, \u003c 22.2R3-S6",
          "\u003e= 22.4, \u003c 22.4R3-S5",
          "\u003e= 23.2, \u003c 23.2R2-S3",
          "\u003e= 23.4, \u003c 23.4R2-S4",
          "\u003e= 24.2, \u003c 24.2R2"
        ],
        "fixed_in": [
          "21.2R3-S9",
          "*",
          "22.2R3-S6",
          "22.4R3-S5",
          "23.2R2-S3",
          "23.4R2-S4",
          "24.2R2"
        ]
      },
      {
        "vendor": "Juniper Networks",
        "product": "Junos OS Evolved",
        "ranges": [
          "\u003c 22.4R3-S5-EVO",
          "\u003e= 23.2-EVO, \u003c 23.2R2-S3-EVO",
          "\u003e= 23.4-EVO, \u003c 23.4R2-S4-EVO",
          "\u003e= 24.2-EVO, \u003c 24.2R2-EVO"
        ],
        "fixed_in": [
          "22.4R3-S5-EVO",
          "23.2R2-S3-EVO",
          "23.4R2-S4-EVO",
          "24.2R2-EVO"
        ]
      }
    ],
    "solutions": [
      "The following software releases have been updated to resolve this specific issue: \nJunos OS 21.2R3-S9, 22.2R3-S6, 22.4R3-S5, 23.2R2-S3, 23.4R2-S4, 24.2R2, 24.4R1, and all subsequent releases.\nJunos OS Evolved: 22.4R3-S5-EVO, 23.2R2-S3-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases."
    ],
    "upgrade": [
      "Upgrade Junos OS to 21.2R3-S9 or * or 22.2R3-S6 or 22.4R3-S5 or 23.2R2-S3 or 23.4R2-S4 or 24.2R2 or later.",
      "Upgrade Junos OS Evolved to 22.4R3-S5-EVO or 23.2R2-S3-EVO or 23.4R2-S4-EVO or 24.2R2-EVO or later."
    ],
    "workarounds": [
      "Disable BGP traceoptions if they are not being used for active troubleshooting."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://supportportal.juniper.net/JSA100050"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
