SecurityContext

CVE-2026-30871: OpenWrt Project - Buffer Overflow

  • Cve: CVE-2026-30871
  • Name: OpenWrt Project - Buffer Overflow
  • 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 parse_question function. The issue is triggered by PTR queries for reverse DNS domains (.in-addr.arpa and .ip6.arpa). DNS packets received on UDP port 5353 are expanded by dn_expand into an 8096-byte global buffer (name_buffer), which is then copied via an unbounded strcpy into a fixed 256-byte stack buffer when handling TYPE_PTR queries. The overflow is possible because dn_expand converts non-printable ASCII bytes (e.g., 0x01) into multi-character octal representations (e.g., \001), significantly inflating the expanded name beyond the stack buffer's capacity. A crafted DNS packet can exploit this expansion behavior to overflow the stack buffer, making the vulnerability reachable through normal multicast DNS packet processing. This issue has been fixed in versions 24.10.6 and 25.12.1.
  • Impact: Remote attackers can cause memory corruption leading to potential code execution or denial of service.
  • Remediation: Update to versions 24.10.6 or 25.12.1 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01363
  • Epss percentile: 0.72498
  • Assignee: [email protected]
  • Published at: 2026-03-19T22:16:31Z
  • Age in days: 250
  • Modified at: 2026-11-03T23:17:41Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-30871
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/openwrt/openwrt/security/advisories/GHSA-7c3j-f7w2-p8f6Vendor Advisory
https://github.com/openwrt/openwrt/releases/tag/v24.10.6Release Notes
https://github.com/openwrt/openwrt/releases/tag/v25.12.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
openwrt:openwrt>= 25.12.0, < 25.12.1; < 24.10.6nonvd/v1/products/openwrt/openwrt

Projects

RepositoryLink kindsIndexedUrl
openwrt/openwrtreleases, security_advisoryyes/v1/repositories/openwrt/openwrt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 5328
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports