CVE-2026-138304

Source
https://cve.org/CVERecord?id=CVE-2026-138304
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138304.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138304
Published
2026-11-29T18:30:15Z
Modified
2026-11-29T20:00:08Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Espruino RegExp jswrap_regexp.c matchhere out-of-bounds write
Details

A security vulnerability has been detected in Espruino up to 2v29. Affected by this issue is the function matchhere of the file src/jswrap_regexp.c of the component RegExp Engine. The manipulation leads to out-of-bounds write. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The identifier of the patch is 54983bbe8f3c3fed46e5416c9e60bf00bbc98137. It is recommended to apply a patch to fix this issue.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-119",
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138304.json"
}
References

Affected packages

Git / github.com/espruino/espruino

Affected ranges

Type
GIT
Repo
https://github.com/espruino/espruino
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2v29"
                },
                {
                    "last_affected":  "2v29"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "54983bbe8f3c3fed46e5416c9e60bf00bbc98137"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
2v29
RELEASE_2V29

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138304.json"