node-re2 — security advisory
node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.26.1, passing a Buffer whose final bytes form a truncated (incomplete) multi-byte UTF-8 sequence could cause the native binding to read past the end of the allocated buffer while attempting to decode the final, incomplete code point. This could result in an out-of-bounds read and potential disclosure of adjacent memory contents. This issue is fixed in version 1.26.1.
- Products
- node-re2
- Affected versions
- 1.10.4-1, 1.10.5-1, 1.10.5-1build1, 1.15.9+~cs1.8.18-1, 1.15.9+~cs1.8.18-2, 1.16.0+~cs2.12.8-2, 1.17.1+~cs2.12.8-1, 1.17.2+~cs2.13.8-1, 1.17.3+~cs2.13.8-1, 1.18.0+~cs2.13.8-1build1, 1.19.2+~cs2.13.13-1build1, 1.20.10+~cs2.13.13-1, 1.22.1+~cs1.3.5-1, 1.22.1+~cs1.3.5-1build2, 1.22.1+~cs1.3.5-1build3, 1.23.3+~cs1.3.5-1, 1.25.0+~cs1.6.0-2, 1.26.1+~cs1.7.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-71498
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:14 UTC · Revision 1
Source evidence
node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.26.1, passing a Buffer whose final bytes form a truncated (incomplete) multi-byte UTF-8 sequence could cause the native binding to read past the end of the allocated buffer while attempting to decode the final, incomplete code point. This could result in an out-of-bounds read and potential disclosure of adjacent memory contents. This issue is fixed in version 1.26.1.
osv:UBUNTU-CVE-2026-71498
node-re2
Fixed versions: Not specified
node-re2
Fixed versions: Not specified
node-re2
Fixed versions: Not specified
node-re2
Fixed versions: Not specified
node-re2
Fixed versions: Not specified
Complete source record
{
"id": "53d3866291f5421c5d67dbabd20c34d2121addd8dbfb3642758c4d306b491232",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-71498",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-71498",
"summary": "node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.26.1, passing a Buffer whose final bytes form a truncated (incomplete) multi-byte UTF-8 sequence could cause the native binding to read past the end of the allocated buffer while attempting to decode the final, incomplete code point. This could result in an out-of-bounds read and potential disclosure of adjacent memory contents. This issue is fixed in version 1.26.1.",
"evidence": "osv:UBUNTU-CVE-2026-71498",
"products": [
{
"name": {
"value": "node-re2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.10.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.10.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.10.5-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-re2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.15.9+~cs1.8.18-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.15.9+~cs1.8.18-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.16.0+~cs2.12.8-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.17.1+~cs2.12.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.17.2+~cs2.13.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.17.3+~cs2.13.8-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-re2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.18.0+~cs2.13.8-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "1.19.2+~cs2.13.13-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.10+~cs2.13.13-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-re2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.23.3+~cs1.3.5-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.25.0+~cs1.6.0-2",
"evidence": "/affected/3/versions"
},
{
"value": "1.26.1+~cs1.7.0-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-re2",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22.1+~cs1.3.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.22.1+~cs1.3.5-1build2",
"evidence": "/affected/4/versions"
},
{
"value": "1.22.1+~cs1.3.5-1build3",
"evidence": "/affected/4/versions"
},
{
"value": "1.23.3+~cs1.3.5-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-71498",
"aliases": [
"UBUNTU-CVE-2026-71498"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-re2",
"purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.10.4-1",
"1.10.5-1",
"1.10.5-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-re2",
"binary_version": "1.10.5-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-re2",
"purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.15.9+~cs1.8.18-1",
"1.15.9+~cs1.8.18-2",
"1.16.0+~cs2.12.8-2",
"1.17.1+~cs2.12.8-1",
"1.17.2+~cs2.13.8-1",
"1.17.3+~cs2.13.8-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-re2",
"binary_version": "1.17.3+~cs2.13.8-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-re2",
"purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.18.0+~cs2.13.8-1build1",
"1.19.2+~cs2.13.13-1build1",
"1.20.10+~cs2.13.13-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-re2",
"binary_version": "1.20.10+~cs2.13.13-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-re2",
"purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.23.3+~cs1.3.5-1",
"1.25.0+~cs1.6.0-2",
"1.26.1+~cs1.7.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-re2",
"binary_version": "1.26.1+~cs1.7.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-re2",
"purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.22.1+~cs1.3.5-1",
"1.22.1+~cs1.3.5-1build2",
"1.22.1+~cs1.3.5-1build3",
"1.23.3+~cs1.3.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-re2",
"binary_version": "1.23.3+~cs1.3.5-1"
}
]
}
}
],
"modified": "2026-10-17T13:00:43.517642850Z",
"provider": "osv",
"upstream": [
"CVE-2026-71498"
],
"references": [
"https://ubuntu.com/security/CVE-2026-71498",
"https://www.cve.org/CVERecord?id=CVE-2026-71498",
"https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg",
"https://github.com/uhop/node-re2/issues/272",
"https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4"
]
},
"related_cves": [
{
"value": "CVE-2026-71498",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360798,
"published_at": "2026-08-06T22:18:00+00:00"
}