{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-30873","id":"CVE-2026-30873","title":"OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens","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 ","descriptionLong":"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.","published":"2026-03-19T22:01:03.867Z","updated":"2026-10-28T02:30:21.710249148Z","reserved":"2026-03-06T00:04:56.698Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.4,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.4,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.4,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"low","products":["openwrt"],"affectedProducts":[{"vendor":"openwrt","product":"openwrt","defaultStatus":null,"versions":[{"version":">= 25.12.0-rc1, < 25.12.1","status":"affected"},{"version":"< 24.10.6","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":["GHSA-rcc6-v4r6-gj4m"],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-rcc6-v4r6-gj4m","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v24.10.6","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30873.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30873","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00554,"epssPercentile":0.47013,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-30873","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30873","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-30873","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-30873","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}