CVE-2019-19012

NameCVE-2019-19012
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2020-1, DLA-2431-1
Debian Bugs944959

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libonig (PTS)buster6.9.1-1vulnerable
bullseye6.9.6-1.1fixed
bookworm6.9.8-1fixed
sid, trixie6.9.9-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libonigsourcejessie5.9.5-3.2+deb8u4DLA-2020-1
libonigsourcestretch6.1.3-2+deb9u1DLA-2431-1
libonigsource(unstable)6.9.4-1low944959

Notes

[buster] - libonig <no-dsa> (Minor issue)
https://github.com/kkos/oniguruma/issues/164
https://github.com/kkos/oniguruma/commit/0463e21432515631a9bc925ce5eb95b097c73719
https://github.com/kkos/oniguruma/commit/778a43dd56925ed58bbe26e3a7bb8202d72c3f3f
https://github.com/kkos/oniguruma/commit/b6cb7580a7e0c56fc325fe9370b9d34044910aed
https://github.com/kkos/oniguruma/commit/bfc36d3d8139b8be4d3df630d625c58687b0c7d4
https://github.com/kkos/oniguruma/commit/db64ef3189f54917a5008a02bdb000adc514a90a

Search for package or bug name: Reporting problems