CVE-2026-30873 OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens
A memory leak in OpenWrt's jsonpath parser allows attackers to exhaust system memory, potentially causing denial of service on embedded devices.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-30873?
CVE-2026-30873 is a low-severity denial of service vulnerability in Openwrt Openwrt, published on 19 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to both 24.10.6 and 25.12.1, the jp_get_token function, which performs lexical analysis by breaking input expressions into tokens, contains a memory leak vulnerability when extracting string literals, field labels, and regular expressions using dynamic memory allocation. These extracted results are stored in a jp_opcode struct, which is later copied to a newly allocated jp_opcode object via jp_alloc_op. During this transfer, if a string was previously extracted and stored in the initial jp_opcode, it is copied to the new allocation but the original memory is never freed, resulting in a memory leak. This issue has been fixed in versions 24.10.6 and 25.12.1.
Weakness: CWE-401
Which versions are affected by CVE-2026-30873?
It affects 1 product.
Products include Openwrt Openwrt.
How do I fix CVE-2026-30873?
No fix has been published for CVE-2026-30873 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-30873 being exploited?
There is no known exploitation of CVE-2026-30873 in the wild and no public exploit code.
Other vulnerabilities in Openwrt Openwrt
- CVE-2020-28951 Use after free in n/a
- CVE-2026-62948 Cross-site scripting in openwrt
- CVE-2026-30871 OpenWrt Project has Stack-based Buffer Overflow in DNS PTR Query
- CVE-2026-30872 OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup
- CVE-2021-28961 Command injection in n/a
Sources
Also known as GHSA-rcc6-v4r6-gj4m.