CVE-2025-12745

Source
https://cve.org/CVERecord?id=CVE-2025-12745
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12745.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-12745
Downstream
Published
2025-11-05T18:32:07.580Z
Modified
2026-08-07T20:50:32.251076Z
Severity
  • 1.9 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
QuickJS quickjs.c js_array_buffer_slice buffer over-read
Details

A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function jsarraybuffer_slice of the file quickjs.c. This manipulation causes buffer over-read. The attack is restricted to local execution. The exploit has been made available to the public and could be exploited. This product adopts a rolling release strategy to maintain continuous delivery Patch name: c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea. To fix this issue, it is recommended to deploy a patch.

Database specific
{
    "cwe_ids": [
        "CWE-119",
        "CWE-126"
    ],
    "cna_assigner": "VulDB",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12745.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "eb2c89087def1829ed99630cb14b549d7a98408c"
                },
                {
                    "last_affected": "eb2c89087def1829ed99630cb14b549d7a98408c"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/bellard/quickjs

Affected ranges

Type
GIT
Repo
https://github.com/bellard/quickjs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12745.json"
vanir_signatures_modified
"2026-08-07T20:50:32Z"
vanir_signatures
[
    {
        "digest": {
            "length": 1504.0,
            "function_hash": "62565268522163933726916336849309146282"
        },
        "deprecated": false,
        "id": "CVE-2025-12745-8214ae16",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea",
        "target": {
            "function": "js_array_buffer_slice",
            "file": "quickjs.c"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "227920478434204419223807838884269231469",
                "338218648032053504722909830123562871037",
                "170194964573099036800708599576699421288",
                "250533629894089998564814771895405247037"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2025-12745-9d71188f",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea",
        "target": {
            "file": "quickjs.c"
        }
    }
]