CVE-2019-12900

NameCVE-2019-12900
DescriptionBZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1833-1
NVD severityhigh (attack range: remote)
Debian Bugs930886

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bzip2 (PTS)jessie1.0.6-7vulnerable
jessie (security)1.0.6-7+deb8u2fixed
stretch1.0.6-8.1vulnerable
buster1.0.6-9.1fixed
bullseye, sid1.0.6-9.2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bzip2source(unstable)1.0.6-9.1high930886
bzip2sourcejessie1.0.6-7+deb8u1highDLA-1833-1

Notes

[stretch] - bzip2 <no-dsa> (Not exploitable; potential dangerous parts already guarded)
https://gitlab.com/federicomenaquintero/bzip2/commit/74de1e2e6ffc9d51ef9824db71a8ffee5962cdbc
The original fix introduces regressions when extracting certain lbzip2 files
which were created with a buggy libzip2: https://bugs.debian.org/931278
Details on followup: https://sourceware.org/ml/bzip2-devel/2019-q3/msg00007.html
explaining as well why, whilst the issue described by CVE-2019-12900 is definitvely
an issue, it was not exploitable in the first place.
Regression fix: https://sourceware.org/git/?p=bzip2.git;a=commit;h=b07b105d1b66e32760095e3602261738443b9e13

Search for package or bug name: Reporting problems