7.8

CVE-2019-18276: gnu bash Improper Check for Dropped Privileges

CVSS: 7.8v3.1HighModified
AliasesMGASA-2021-0288RHSA-2021:1679UBUNTU-CVE-2019-18276
Published 28-11-2019Last modified 14-10-2026

Vulnerability summary

CVE-2019-18276 is a high (CVSS 7.8) Improper Check for Dropped Privileges vulnerability in gnu bash. EPSS estimates a 2.61% chance of exploitation in the next 30 days, higher than 85.1% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
2.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference

Timeline

  1. 28-11-2019
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.61%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.61% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.61%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (youtube.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Redhat4 products
  • bash< 0:4.4.19-14.el8
  • bash-debuginfo< 0:4.4.19-14.el8
  • bash-debugsource< 0:4.4.19-14.el8
  • bash-doc< 0:4.4.19-14.el8
Netapp3 products
Debian1 product
  • bash< 5.1~rc1-2
Gnu1 product
  • 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
Mageia1 product
  • bash< 4.4-23.1.2.mga7
Oracle1 product
Ubuntu1 product
  • bash< 4.3-7ubuntu1.8+esm2 | < 4.3-14ubuntu1.4+esm1 | < 4.4.18-2ubuntu1.3 | < 5.0-6ubuntu1.2

7 vendors · 12 products

References

22 links
Show all 22 references