Off-by-One Error in Popt Command-Line Library by Red Hat
CVE-2026-18739
2.5LOW
What is CVE-2026-18739?
A vulnerability exists within the popt library—a command-line option parsing tool used by various applications. This vulnerability stems from an off-by-one error in the poptStuffArgs function, which can be triggered after multiple invocations or through complex alias nesting. This flaw leads to the potential corruption of internal program data, creating an opportunity for a local attacker to manipulate system processes. If the compromised data is later processed by the host application without sufficient validation, it could allow for the execution of arbitrary code, which poses a significant risk to system integrity and security.