quickjs — security advisory
A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_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.
- Products
- quickjs
- Affected versions
- 2021.03.27-1, 2021.03.27-1ubuntu0.1~esm1, 2024.01.13-5, 2025.04.26-1, 2025.04.26-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-12745
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:30 UTC · Revision 1
Source evidence
A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_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.
osv:UBUNTU-CVE-2025-12745
quickjs
Fixed versions: Not specified
quickjs
Fixed versions: Not specified
quickjs
Fixed versions: Not specified
quickjs
Fixed versions: Not specified
Complete source record
{
"id": "fa2f087e9b441d1566007892cdf82f00cacf1e16ff618f22253dd2b7857107ff",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-12745",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-12745",
"summary": "A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_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.",
"evidence": "osv:UBUNTU-CVE-2025-12745",
"products": [
{
"name": {
"value": "quickjs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2021.03.27-1",
"evidence": "/affected/0/versions"
},
{
"value": "2021.03.27-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "quickjs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2024.01.13-5",
"evidence": "/affected/1/versions"
},
{
"value": "2025.04.26-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "quickjs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.04.26-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "quickjs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.04.26-1",
"evidence": "/affected/3/versions"
},
{
"value": "2025.04.26-1build1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-12745",
"aliases": [
"UBUNTU-CVE-2025-12745"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "quickjs",
"purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2021.03.27-1",
"2021.03.27-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libquickjs",
"binary_version": "2021.03.27-1ubuntu0.1~esm1"
},
{
"binary_name": "quickjs",
"binary_version": "2021.03.27-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "quickjs",
"purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2024.01.13-5",
"2025.04.26-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libquickjs",
"binary_version": "2025.04.26-1"
},
{
"binary_name": "quickjs",
"binary_version": "2025.04.26-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "quickjs",
"purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2025.04.26-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libquickjs",
"binary_version": "2025.04.26-1build1"
},
{
"binary_name": "quickjs",
"binary_version": "2025.04.26-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "quickjs",
"purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2025.04.26-1",
"2025.04.26-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libquickjs",
"binary_version": "2025.04.26-1build1"
},
{
"binary_name": "quickjs",
"binary_version": "2025.04.26-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:57:00.797323306Z",
"provider": "osv",
"upstream": [
"CVE-2025-12745"
],
"references": [
"https://ubuntu.com/security/CVE-2025-12745",
"https://www.cve.org/CVERecord?id=CVE-2025-12745",
"https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea",
"https://github.com/bellard/quickjs/issues/451",
"https://github.com/bellard/quickjs/issues/451#issue-3533698042",
"https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558",
"https://vuldb.com/?ctiid.331268",
"https://vuldb.com/?id.331268",
"https://vuldb.com/?submit.678850"
]
},
"related_cves": [
{
"value": "CVE-2025-12745",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 356632,
"published_at": "2025-11-05T19:15:00+00:00"
}