{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-30873",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-03-06T00:04:56.698Z",
        "datePublished": "2026-03-19T22:01:03.867Z",
        "dateUpdated": "2026-03-21T03:26:08.591Z"
    },
    "containers": {
        "cna": {
            "title": "OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-401",
                            "lang": "en",
                            "description": "CWE-401: Missing Release of Memory after Effective Lifetime",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "ADJACENT",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.4,
                        "baseSeverity": "LOW",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/openwrt/openwrt/security/advisories/GHSA-rcc6-v4r6-gj4m",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/openwrt/openwrt/security/advisories/GHSA-rcc6-v4r6-gj4m"
                },
                {
                    "name": "https://github.com/openwrt/openwrt/releases/tag/v24.10.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/openwrt/openwrt/releases/tag/v24.10.6"
                },
                {
                    "name": "https://github.com/openwrt/openwrt/releases/tag/v25.12.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/openwrt/openwrt/releases/tag/v25.12.1"
                }
            ],
            "affected": [
                {
                    "vendor": "openwrt",
                    "product": "openwrt",
                    "versions": [
                        {
                            "version": ">= 25.12.0-rc1, < 25.12.1",
                            "status": "affected"
                        },
                        {
                            "version": "< 24.10.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-03-19T22:01:03.867Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": {
                "advisory": "GHSA-rcc6-v4r6-gj4m",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-03-21T03:25:41.581578Z",
                                "id": "CVE-2026-30873",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-03-21T03:26:08.591Z"
                }
            }
        ]
    }
}