CVE-2019-12900
BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors
Check your servers for CVE-2019-12900
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-12900 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 8.04%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-787 Out-of-bounds Write
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-12900 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-12900RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-12900Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-12900
trivy image --scanners vuln IMAGE | grep CVE-2019-12900
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-4038-2 usn.ubuntu.com · vendor advisory
- USN-4038-1 usn.ubuntu.com · vendor advisory
- openSUSE-SU-2019:1781 lists.opensuse.org · vendor advisory
- FreeBSD-SA-19:18 security.FreeBSD.org · vendor advisory
- openSUSE-SU-2019:1918 lists.opensuse.org · vendor advisory
- USN-4146-1 usn.ubuntu.com · vendor advisory
- USN-4146-2 usn.ubuntu.com · vendor advisory
- openSUSE-SU-2019:2595 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2597 lists.opensuse.org · vendor advisory
- https://support.f5.com/csp/article/K68713584?utm_source=f5support&%3Butm_medium=RSS support.f5.com
Other references
- [debian-lts-announce] 20190624 [SECURITY] [DLA 1833-1] bzip2 security update lists.debian.org · mailing list
- 20190715 [slackware-security] bzip2 (SSA:2019-195-01) seclists.org · mailing list
- [debian-lts-announce] 20190718 [SECURITY] [DLA 1833-2] bzip2 regression update lists.debian.org · mailing list
- 20190806 FreeBSD Security Advisory FreeBSD-SA-19:18.bzip2 seclists.org · mailing list
- [debian-lts-announce] 20191010 [SECURITY] [DLA 1953-1] clamav security update lists.debian.org · mailing list
- [debian-lts-announce] 20191014 [SECURITY] [DLA 1953-2] clamav regression update lists.debian.org · mailing list
- [kafka-users] 20200413 CVEs for the dependency software guava and rocksdbjni of Kafka lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- http://packetstormsecurity.com/files/153644/Slackware-Security-Advisory-bzip2-Updates.html packetstormsecurity.com
- http://packetstormsecurity.com/files/153957/FreeBSD-Security-Advisory-FreeBSD-SA-19-18.bzip2.html packetstormsecurity.com
- https://gitlab.com/federicomenaquintero/bzip2/commit/74de1e2e6ffc9d51ef9824db71a8ffee5962cdbc gitlab.com
- [flink-user] 20210716 Flink 1.13.1 - Vulnerabilities CVE-2019-12900 for librocksdbjni lists.apache.org · mailing list
- [flink-user] 20210717 Re: Flink 1.13.1 - Vulnerabilities CVE-2019-12900 for librocksdbjni lists.apache.org · mailing list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-202008.html cert-portal.siemens.com
Source: the record CVE-2019-12900 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse