{"id":"UBUNTU-CVE-2019-19203","details":"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.","modified":"2026-01-30T02:11:38.385977Z","published":"2019-11-21T21:15:00Z","related":["USN-5662-1"],"upstream":["CVE-2019-19203"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19203"},{"type":"REPORT","url":"https://github.com/kkos/oniguruma/issues/163"},{"type":"REPORT","url":"https://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5662-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19203"}],"affected":[{"package":{"name":"libonig","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libonig@5.9.1-1ubuntu1.1+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9.1-1ubuntu1.1+esm3"}]}],"versions":["5.9.1-1","5.9.1-1ubuntu1","5.9.1-1ubuntu1.1","5.9.1-1ubuntu1.1+esm1","5.9.1-1ubuntu1.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libonig-dev","binary_version":"5.9.1-1ubuntu1.1+esm3"},{"binary_name":"libonig2","binary_version":"5.9.1-1ubuntu1.1+esm3"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19203.json"}},{"package":{"name":"libonig","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libonig@5.9.6-1ubuntu0.1+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9.6-1ubuntu0.1+esm3"}]}],"versions":["5.9.6-1","5.9.6-1ubuntu0.1","5.9.6-1ubuntu0.1+esm1","5.9.6-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libonig-dev","binary_version":"5.9.6-1ubuntu0.1+esm3"},{"binary_name":"libonig2","binary_version":"5.9.6-1ubuntu0.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19203.json"}},{"package":{"name":"libonig","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libonig@6.7.0-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.0-1ubuntu0.1~esm2"}]}],"versions":["6.5.0-1","6.6.1-1","6.7.0-1","6.7.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libonig-dev","binary_version":"6.7.0-1ubuntu0.1~esm2"},{"binary_name":"libonig4","binary_version":"6.7.0-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19203.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}