High
Security advisory
An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-19203
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:30 UTC · Revision 1
Source evidence
An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.
osv:CVE-2019-19203
Complete source record
{
"id": "2160b2c995498e58c8eb8ee90412421af1608f63016d79b590978f09f10d463c",
"url": "https://osv.dev/vulnerability/CVE-2019-19203",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-19203",
"summary": "An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.",
"evidence": "osv:CVE-2019-19203",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-19203",
"aliases": [
"CVE-2019-19203"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kkos/oniguruma",
"type": "GIT",
"events": [
{
"introduced": "83375e4d3480d6d9f6fcd6c2f99035e9522ceeae"
},
{
"fixed": "e03900b038a274ee2f1341039e9003875c11e47d"
},
{
"introduced": "976a9bc4d2d53923223f56d1fcc9333430cb15f6"
},
{
"last_affected": "976a9bc4d2d53923223f56d1fcc9333430cb15f6"
},
{
"fixed": "681824e81bb5fc9bbd4dfbe7a07135337129537e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.9.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:oniguruma_project:oniguruma:6.9.4:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "6.9.4-rc1"
},
{
"last_affected": "6.9.4-rc1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "681824e81bb5fc9bbd4dfbe7a07135337129537e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.9.4_rc2"
}
]
}
}
],
"versions": [
"6.9.4-rc1",
"v6.9.4_rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19203.json",
"vanir_signatures": [
{
"id": "CVE-2019-19203-563c27e4",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18679750778586343771741350755993589288",
"103368106136942227172244566078932066273",
"257727887412231991059145261695986113402",
"99731926145027407046045989165921264745",
"173237864390474915165548571384207574271",
"290228417168798604629944627181754726158",
"215947174697766211659352546659917433609",
"174440583955296606380940663435750254051",
"250394807291303202205505094138654332177"
]
},
"source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
"target": {
"file": "harnesses/encode-harness.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-19203-718d8559",
"digest": {
"length": 2816,
"function_hash": "267334844810435515714121622196231420596"
},
"source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
"target": {
"file": "harnesses/encode-harness.c",
"function": "LLVMFuzzerTestOneInput"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:45:07Z"
}
}
],
"modified": "2026-10-20T13:45:07.129469038Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NO267PLHGYZSWX3XTRPKYBKD4J3YOU5V/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3MBNW6Z4DOXSCNWGBLQ7OA3OGUJ44WL/",
"https://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2",
"https://github.com/tarantula-team/CVE-2019-19203",
"https://github.com/kkos/oniguruma/issues/163",
"https://github.com/ManhNDd/CVE-2019-19203"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "30"
},
{
"last_affected": "30"
},
{
"introduced": "31"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-19203",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388057,
"published_at": "2019-11-21T21:15:11.497+00:00"
}