
CVE catalog
CVE-2019-18276
bash: CVE-2019-18276
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.61% · Oct 25, 2026
An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bash | sid | 5.3-4 | fixed |
| Debian | bash | forky | 5.3-4 | fixed |
| Debian | bash | trixie | 5.2.37-2 | fixed |
| Debian | bash | bookworm | 5.2.15-2 | fixed |
| Cpe | bash | Not reported | Not reported | unknown |
| Cpe | hci_management_node | Not reported | Not reported | unknown |
| Cpe | oncommand_unified_manager | Not reported | Not reported | unknown |
| Cpe | solidfire | Not reported | Not reported | unknown |
| Cpe | communications_cloud_native_core_policy | Not reported | Not reported | unknown |
| Ubuntu | bash | pro | 4.3-14ubuntu1 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.1 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.2 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.3 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.4 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.4+esm1 | fixed |
| Ubuntu | bash | 18.04 | 4.4-5ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-1ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.2 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.3 | fixed |
| Ubuntu | bash | 20.04 | 5.0-4ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-5ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1.1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1.2 | fixed |
| Ubuntu | bash | pro | 4.3-14ubuntu1 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.1 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.2 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.3 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.4 | vulnerable |
| Ubuntu | bash | pro | 4.3-14ubuntu1.4+esm1 | fixed |
| Ubuntu | bash | 18.04 | 4.4-5ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-1ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.1 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.2 | vulnerable |
| Ubuntu | bash | 18.04 | 4.4.18-2ubuntu1.3 | fixed |
| Ubuntu | bash | 20.04 | 5.0-4ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-5ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1.1 | vulnerable |
| Ubuntu | bash | 20.04 | 5.0-6ubuntu1.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bash | source | sid | 5.1~rc1-2 | unimportant | Not reported | Not reported |
| Debian | bash | source | forky | 5.1~rc1-2 | unimportant | Not reported | Not reported |
| Debian | bash | source | trixie | 5.1~rc1-2 | unimportant | Not reported | Not reported |
| Debian | bash | source | bookworm | 5.1~rc1-2 | unimportant | Not reported | Not reported |
| Ubuntu | bash | deb | pro | 4.3-14ubuntu1.4+esm1 | Not reported | USN-5380-1 | Not reported |
| Ubuntu | bash | deb | 18.04 | 4.4.18-2ubuntu1.3 | Not reported | USN-5380-1 | Not reported |
| Ubuntu | bash | deb | 20.04 | 5.0-6ubuntu1.2 | Not reported | USN-5380-1 | Not reported |
| Ubuntu | bash | deb | pro | 4.3-14ubuntu1.4+esm1 | Not reported | UBUNTU-CVE-2019-18276 | Not reported |
| Ubuntu | bash | deb | 18.04 | 4.4.18-2ubuntu1.3 | Not reported | UBUNTU-CVE-2019-18276 | Not reported |
| Ubuntu | bash | deb | 20.04 | 5.0-6ubuntu1.2 | Not reported | UBUNTU-CVE-2019-18276 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bash]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
- [bash-builtins]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
- [bash-doc]Fixed
Source package: [bash]
Details (2)
5.2.15-2· all · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
5.2.15-2· all · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
- [bash-static]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
5.1~rc1-2dsa · bash · debian · bookworm
Observed:
References
- [https://access.redhat.com/errata/RHSA-2021:1679]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_1679.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2019-18276]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-18276]
- [https://osv.dev/vulnerability/USN-5380-1]
- [https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2024/icsa-24-284-16.json]
- [https://security-tracker.debian.org/tracker/CVE-2019-18276]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0054.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]