cve.bz

CVE-2019-18276 Improper Check for Dropped Privileges

7.8 highExploit referenceEPSS 2.6%Fix available

High (7.8). EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-273 Improper Check for Dropped Privileges
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-18276 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-18276?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-18276?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-18276 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-18276

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-18276](https://cve.bz/cve/badge/CVE-2019-18276.svg)](https://cve.bz/cve/CVE-2019-18276)

HTML:

<a href="https://cve.bz/cve/CVE-2019-18276"><img src="https://cve.bz/cve/badge/CVE-2019-18276.svg" alt="CVE-2019-18276"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:bashthrough 5.0
gnu:bash5.0:beta1
gnu:bash5.0:beta2
gnu:bash5.0:patch1
gnu:bash5.0:patch10
gnu:bash5.0:patch11
gnu:bash5.0:patch2
gnu:bash5.0:patch3
gnu:bash5.0:patch4
gnu:bash5.0:patch5
gnu:bash5.0:patch6
gnu:bash5.0:patch7
gnu:bash5.0:patch8
gnu:bash5.0:patch9
gnu:bash5.0:rc1
netapp:oncommand_unified_manager9.5 and later
oracle:communications_cloud_native_core_policy1.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14bash5.1~rc1-2DEBIAN-CVE-2019-18276
Ubuntu18.04:LTSbash4.4.18-2ubuntu1.3UBUNTU-CVE-2019-18276 USN-5380-1
Ubuntu20.04:LTSbash5.0-6ubuntu1.2UBUNTU-CVE-2019-18276 USN-5380-1
UbuntuPro:14.04:LTSbash4.3-7ubuntu1.8+esm2UBUNTU-CVE-2019-18276 USN-5380-1
UbuntuPro:16.04:LTSbash4.3-14ubuntu1.4+esm1UBUNTU-CVE-2019-18276 USN-5380-1
Red Hatenterprise_linux:8::baseosbash, bash-doc, bash-debuginfo and 1 more0:4.4.19-14.el8RHSA-2021:1679

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8bash-0:4.4.19-14.el8Fixed 2021-05-18RHSA-2021:1679
Red Hat Enterprise Linux 5bashOut of support scope
Red Hat Enterprise Linux 6bashOut of support scope
Red Hat Enterprise Linux 7bashFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-18276.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-284-16Rockwell Automation DataMosaix Private Cloud2024-10-10Critical ManufacturingRockwell Automation DataMosaix Private Cloud: <=7.07none listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON