CVE-2019-13224

NameCVE-2019-13224
DescriptionA use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1854-1, DLA-2431-1, DSA-4527-1, DSA-4529-1
Debian Bugs931878

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libonig (PTS)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+deb8u2DLA-1854-1
libonigsourcestretch6.1.3-2+deb9u1DLA-2431-1
libonigsource(unstable)6.9.2-1low931878
php7.0sourcestretch7.0.33-0+deb9u5DSA-4529-1
php7.0source(unstable)(unfixed)
php7.3sourcebuster7.3.9-1~deb10u1DSA-4527-1

Notes

[buster] - libonig <no-dsa> (Minor issue)
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55

Search for package or bug name: Reporting problems