Medium severity · published Mar 19, 2026
CVE-2026-30873
OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens
4.9
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
openwrt · openwrt
>= 25.12.0-rc1, < 25.12.1; < 24.10.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-30873
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-30873
Release Notes
https://github.com/openwrt/openwrt/releases/tag/v24.10.6
Release Notes
https://github.com/openwrt/openwrt/releases/tag/v25.12.1
Vendor Advisory
https://github.com/openwrt/openwrt/security/advisories/GHSA-rcc6-v4r6-gj4m
More from openwrt
9.8
CVE-2026-30872
OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup
9.8
CVE-2026-30871
OpenWrt Project has Stack-based Buffer Overflow in DNS PTR Query
9.8
CVE-2025-20683
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check
9.8
CVE-2025-20682
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check
9.8
CVE-2025-20681
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check
