- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- openwrt
CVSS 4.0
- Type
- Secondary
- Base score
- 2.4
- Impact score
- -
- Exploitability score
- -
- Vector string
- 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
- Severity
- LOW
CVSS 3.1
- Type
- Primary
- Base score
- 4.9
- Impact score
- 3.6
- Exploitability score
- 1.2
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
- security-advisories@github.com
- CWE-401
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*",
"matchCriteriaId": "12B5818C-BB4D-4486-9C53-7FCA8EF2EDA8",
"versionEndExcluding": "24.10.6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*",
"matchCriteriaId": "061FA3CA-10C0-4EF2-8566-E623964CAE79",
"versionEndExcluding": "25.12.1",
"versionStartIncluding": "25.12.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]