Vulnerability database / CVE-2019-9891
CVE-2019-9891
CRITICAL 9.8 CVSS 3.0 The function getopt_simple as described in Advanced Bash Scripting Guide (ISBN 978-1435752184) allows privilege escalation and execution of commands when used in a shell script called, for example, via sudo.
Published 31 May 2019
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-94 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
CRITICAL 9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
tldp
advanced_bash-scripting_guidecpe:2.3:a:tldp:advanced_bash-scripting_guide:*:*:*:*:*:*:*:*
all versions
References
History
25 Nov 2026 20:22 UTC · NVD: first stored (published 31 May 2019)