{
  "id": "CVE-2026-30872",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-30872",
  "published_at": "2026-03-19T21:56:23.472Z",
  "title": "OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup",
  "vendor": "openwrt",
  "product": "openwrt",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "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: openwrt openwrt OpenWrt Project has a Stack-based"
  },
  "description": "OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6 and 25.12.1, the mdns daemon has a Stack-based Buffer Overflow vulnerability in the match_ipv6_addresses function, triggered when processing PTR queries for IPv6 reverse DNS domains (.ip6.arpa) received via multicast DNS on UDP port 5353. During processing, the domain name from name_buffer is copied via strcpy into a fixed 256-byte stack buffer, and then the reverse IPv6 request is extracted into a buffer of only 46 bytes (INET6_ADDRSTRLEN). Because the length of the data is never validated before this extraction, an attacker can supply input larger than 46 bytes, causing an out-of-bounds write. This allows a specially crafted DNS query to overflow the stack buffer in match_ipv6_addresses, potentially enabling remote code execution. This issue has been fixed in versions 24.10.6 and 25.12.1.",
  "cwe": "CWE-121",
  "cpes": [
    "cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.5,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openwrt",
        "product": "openwrt",
        "ranges": [
          "\u003e= 25.12.0-rc1, \u003c 25.12.1",
          "\u003c 24.10.6"
        ],
        "fixed_in": [
          "25.12.1",
          "24.10.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openwrt to 25.12.1 or 24.10.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openwrt/openwrt/security/advisories/GHSA-mpgh-v658-jqv5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openwrt/openwrt/releases/tag/v24.10.6"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openwrt/openwrt/releases/tag/v25.12.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
