CVE-2019-19203

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

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
libonigsourcestretch6.1.3-2+deb9u1DLA-2431-1
libonigsource(unstable)6.9.4-1low945312

Notes

[buster] - libonig <no-dsa> (Minor issue)
[jessie] - libonig <ignored> (Minor issue, not reproducible, non-trivial backport)
https://github.com/kkos/oniguruma/issues/163
https://github.com/kkos/oniguruma/commit/aa0188eaedc056dca8374ac03d0177429b495515 (v6.9.4_rc2)
Only exploitable with attacker-provided pattern

Search for package or bug name: Reporting problems