{"id":"UBUNTU-CVE-2019-19012","details":"An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.","modified":"2026-02-04T02:52:47.733514Z","published":"2019-11-17T18:15:00Z","related":["USN-4460-1","USN-5662-1"],"upstream":["CVE-2019-19012"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19012"},{"type":"REPORT","url":"https://github.com/kkos/oniguruma/issues/164"},{"type":"REPORT","url":"https://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4460-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5662-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19012"}],"affected":[{"package":{"name":"libonig","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libonig@5.9.1-1ubuntu1.1+esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9.1-1ubuntu1.1+esm2"}]}],"versions":["5.9.1-1","5.9.1-1ubuntu1","5.9.1-1ubuntu1.1","5.9.1-1ubuntu1.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"5.9.1-1ubuntu1.1+esm2","binary_name":"libonig-dev"},{"binary_version":"5.9.1-1ubuntu1.1+esm2","binary_name":"libonig2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19012.json"}},{"package":{"name":"libonig","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libonig@5.9.6-1ubuntu0.1+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9.6-1ubuntu0.1+esm2"}]}],"versions":["5.9.6-1","5.9.6-1ubuntu0.1","5.9.6-1ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"5.9.6-1ubuntu0.1+esm2","binary_name":"libonig-dev"},{"binary_version":"5.9.6-1ubuntu0.1+esm2","binary_name":"libonig2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19012.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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"6.7.0-1ubuntu0.1~esm2","binary_name":"libonig-dev"},{"binary_version":"6.7.0-1ubuntu0.1~esm2","binary_name":"libonig4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19012.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:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}