Skip to main content
Public proof of conceptFix available

CVE-2019-18276

A public proof of concept exists; no exploitation attested.

  • Published2019-11-28
  • WeaknessCWE-273

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2019-11-2801:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2019-18276?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2019-18276?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Gnu bash
BranchAffectedFixed in
5.0≤ 5.0no fix published
5.0= 5.0no fix published
Netapp hci management node
BranchAffectedFixed in
—all versionsno fix published
Netapp oncommand unified manager
BranchAffectedFixed in
9.5+≥ 9.5no fix published

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • bashUbuntu:Pro:16.04:LTSall versions · fixed in 4.3-14ubuntu1.4+esm1
  • bashUbuntu:Pro:14.04:LTSall versions · fixed in 4.3-7ubuntu1.8+esm2
  • bashUbuntu:20.04:LTSall versions · fixed in 5.0-6ubuntu1.2
  • bashUbuntu:18.04:LTSall versions · fixed in 4.4.18-2ubuntu1.3
  • bashTuxCare:Ubuntu:16.04all versions · fixed in 4.3-14ubuntu1.4+tuxcare.els1and 3 other packages
  • bashTuxCare:OracleLinux:6all versions · fixed in 4.1.2-48.el6.tuxcare.els1and 1 other package
  • bashTuxCare:Debian:10all versions · fixed in 5.0-4+tuxcare.els1and 3 other packages
  • bashTuxCare:CentOS:6all versions · fixed in 4.1.2-48.el6.tuxcare.els1and 1 other package

5 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-18276 Red Hat Product Security17 products fixed · 7 known affected

    bash: when effective UID is not equal to its real UID the saved UID is not dropped

    bash as a component of Red Hat Enterprise Linux 5 · bash as a component of Red Hat Enterprise Linux 6 · bash-doc as a component of Red Hat Enterprise Linux 6 · +4 more

  • ICSA-24-284-16 CISA1 known affected

    Rockwell Automation DataMosaix Private Cloud

    Rockwell Automation DataMosaix Private Cloud: <=7.07

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • RHSA-2021:1679 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: bash security and bug fix update

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  2. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  3. Vendor fix Red Hat Product Security RHSA-2021:1679 · 17 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Mitigation from the vendor CISA ICSA-24-284-16 · 1 productRockwell Automation has addressed this issue in version v7.09 and encourages users to update to the newest available version. Rockwell Automation encourages users of the affected software to apply risk mitigations, if possible.
  5. Mitigation from the vendor CISA ICSA-24-284-16 · 1 productRockwell Automation encourages users to implement security best practices to minimize the risk of the vulnerability.
  6. Mitigation from the vendor CISA ICSA-24-284-16 · 1 productFor more information about this issue, please see the advisory on the Rockwell Automation security page.

Advisories and patches

Detection

read 2026-11-02 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
2 repositories, unverifiedM-ensimag/CVE-2019-18276SABI-Ensimag/CVE-2019-18276
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2019-11-28
Last Modified
2026-10-14
NVD status
Modified
GitHub Advisory
GHSA-jcxc-5f87-vq5m

Frequently asked questions

What is CVE-2019-18276?

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.

Is CVE-2019-18276 actively exploited?

A proof-of-concept exploit exists for CVE-2019-18276, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2019-18276?

CVE-2019-18276 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running bash? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record