# CVE-2019-18276

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 29-11-2019)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2019-11-28 · Modified: 2026-10-14
- Aliases: MGASA-2021-0288, RHSA-2021:1679, UBUNTU-CVE-2019-18276, USN-5380-1, DEBIAN-CVE-2019-18276
- Record: https://cvemate.com/vulnerability/CVE-2019-18276 · JSON: https://cvemate.com/vulnerability/CVE-2019-18276/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.591%, percentile 91.893%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database)

## Affected

- debian bash (Debian): \< 5.1~rc1-2
- ubuntu bash (Ubuntu): \< 4.3-7ubuntu1.8+esm2 \| \< 4.3-14ubuntu1.4+esm1 \| \< 4.4.18-2ubuntu1.3 \| \< 5.0-6ubuntu1.2
- gnu bash: ≤ 5.0 \| 5.0:beta1 \| 5.0:beta2 \| 5.0:patch1 \| 5.0:patch10 \| 5.0:patch11 \| 5.0:patch2 \| 5.0:patch3 \| 5.0:patch4 \| 5.0:patch5 \| 5.0:patch6 \| 5.0:patch7 \| 5.0:patch8 \| 5.0:patch9 \| 5.0:rc1
- mageia bash (Mageia): \< 4.4-23.1.2.mga7
- netapp hci\_management\_node: na
- netapp oncommand\_unified\_manager: ≥ 9.5 (No fix recorded)
- netapp solidfire: na
- oracle communications\_cloud\_native\_core\_policy: 1.14.0
- redhat bash (Red Hat): \< 0:4.4.19-14.el8
- redhat bash-debuginfo (Red Hat): \< 0:4.4.19-14.el8
- redhat bash-debugsource (Red Hat): \< 0:4.4.19-14.el8
- redhat bash-doc (Red Hat): \< 0:4.4.19-14.el8

## References (first 20 of 22)

- <https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E>
- <https://security.gentoo.org/glsa/202105-34>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://www.youtube.com/watch?v=-wGtxJ8opa8>
- <https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff>
- <http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html>
- <https://security.netapp.com/advisory/ntap-20200430-0003/>
- <https://advisories.mageia.org/MGASA-2021-0288.html>
- <https://bugs.mageia.org/show_bug.cgi?id=28937>
- <https://access.redhat.com/errata/RHSA-2021:1679>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1778309>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1890888>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1679.json>
- <https://access.redhat.com/security/cve/CVE-2019-18276>
- <https://www.cve.org/CVERecord?id=CVE-2019-18276>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-18276>
- <https://ubuntu.com/security/CVE-2019-18276>
- <https://ubuntu.com/security/notices/USN-5380-1>

---

Data as of 2026-12-05T03:06:04.881Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
