CVE catalog

CVE-2019-18276

bash: CVE-2019-18276

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianbashsid5.3-4fixed
Debianbashforky5.3-4fixed
Debianbashtrixie5.2.37-2fixed
Debianbashbookworm5.2.15-2fixed
CpebashNot reportedNot reportedunknown
Cpehci_management_nodeNot reportedNot reportedunknown
Cpeoncommand_unified_managerNot reportedNot reportedunknown
CpesolidfireNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_policyNot reportedNot reportedunknown
Ubuntubashpro4.3-14ubuntu1vulnerable
Ubuntubashpro4.3-14ubuntu1.1vulnerable
Ubuntubashpro4.3-14ubuntu1.2vulnerable
Ubuntubashpro4.3-14ubuntu1.3vulnerable
Ubuntubashpro4.3-14ubuntu1.4vulnerable
Ubuntubashpro4.3-14ubuntu1.4+esm1fixed
Ubuntubash18.044.4-5ubuntu1vulnerable
Ubuntubash18.044.4.18-1ubuntu1vulnerable
Ubuntubash18.044.4.18-2ubuntu1vulnerable
Ubuntubash18.044.4.18-2ubuntu1.1vulnerable
Ubuntubash18.044.4.18-2ubuntu1.2vulnerable
Ubuntubash18.044.4.18-2ubuntu1.3fixed
Ubuntubash20.045.0-4ubuntu1vulnerable
Ubuntubash20.045.0-5ubuntu1vulnerable
Ubuntubash20.045.0-6ubuntu1vulnerable
Ubuntubash20.045.0-6ubuntu1.1vulnerable
Ubuntubash20.045.0-6ubuntu1.2fixed
Ubuntubashpro4.3-14ubuntu1vulnerable
Ubuntubashpro4.3-14ubuntu1.1vulnerable
Ubuntubashpro4.3-14ubuntu1.2vulnerable
Ubuntubashpro4.3-14ubuntu1.3vulnerable
Ubuntubashpro4.3-14ubuntu1.4vulnerable
Ubuntubashpro4.3-14ubuntu1.4+esm1fixed
Ubuntubash18.044.4-5ubuntu1vulnerable
Ubuntubash18.044.4.18-1ubuntu1vulnerable
Ubuntubash18.044.4.18-2ubuntu1vulnerable
Ubuntubash18.044.4.18-2ubuntu1.1vulnerable
Ubuntubash18.044.4.18-2ubuntu1.2vulnerable
Ubuntubash18.044.4.18-2ubuntu1.3fixed
Ubuntubash20.045.0-4ubuntu1vulnerable
Ubuntubash20.045.0-5ubuntu1vulnerable
Ubuntubash20.045.0-6ubuntu1vulnerable
Ubuntubash20.045.0-6ubuntu1.1vulnerable
Ubuntubash20.045.0-6ubuntu1.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbashsourcesid5.1~rc1-2unimportantNot reportedNot reported
Debianbashsourceforky5.1~rc1-2unimportantNot reportedNot reported
Debianbashsourcetrixie5.1~rc1-2unimportantNot reportedNot reported
Debianbashsourcebookworm5.1~rc1-2unimportantNot reportedNot reported
Ubuntubashdebpro4.3-14ubuntu1.4+esm1Not reportedUSN-5380-1Not reported
Ubuntubashdeb18.044.4.18-2ubuntu1.3Not reportedUSN-5380-1Not reported
Ubuntubashdeb20.045.0-6ubuntu1.2Not reportedUSN-5380-1Not reported
Ubuntubashdebpro4.3-14ubuntu1.4+esm1Not reportedUBUNTU-CVE-2019-18276Not reported
Ubuntubashdeb18.044.4.18-2ubuntu1.3Not reportedUBUNTU-CVE-2019-18276Not reported
Ubuntubashdeb20.045.0-6ubuntu1.2Not reportedUBUNTU-CVE-2019-18276Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bash]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

  • Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

  • [bash-doc]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.15-2 · all · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

    • 5.2.15-2 · all · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

  • Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 5.1~rc1-2

      dsa · bash · debian · bookworm

Observed:

References