CVE-2026-30873
OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens
Mitigation
- Upgrade openwrt to 24.10.6 or later.
Who should check
- Anyone running openwrt >= 25.12.0-rc1, < 25.12.1; < 24.10.6
Vulnerability facts
- Affected
- openwrt >= 25.12.0-rc1, < 25.12.1; < 24.10.6
- Fixed in
- openwrt 25.12.1, openwrt 24.10.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.4 (v4.0, CNA)CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: High
- User interaction: Active
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.73% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| openwrt | >= 25.12.0-rc1, < 25.12.1; < 24.10.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-30873. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-30873.md Affected: openwrt >= 25.12.0-rc1, < 25.12.1; < 24.10.6 Fixed in: openwrt 25.12.1, openwrt 24.10.6 Steps: 1. Search this machine and project for openwrt: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-30873 being exploited?
There is no confirmed exploitation: CVE-2026-30873 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-30873?
Low: CVSS 2.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-30873?
openwrt >= 25.12.0-rc1, < 25.12.1; < 24.10.6.
Is there a fix for CVE-2026-30873?
Yes. Fixed in openwrt 25.12.1, openwrt 24.10.6. Upgrade openwrt to 24.10.6 or later.
How do I check if I'm affected by CVE-2026-30873?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.