CVE-2026-18839
Low · 2.2CVSS
2.2
EPSS
0.1%
Published
Aug 5, 2026
CISA due date
—
Cloudanix analysis
A bug in a common helper library can make some command-line programs crash when they try to show their usage instructions on certain screen sizes.
- Exploitation
- Requires User Interaction
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer underflow in popt library during help text formatting for option tables wider than the terminal, causing memory corruption that crashes the calling application or prevents help display.
Why it matters to the business
Local denial of service against any application that links against the vulnerable popt library and can be induced to print wide help output, interrupting command-line workflows and administrative tasks.
How an attack unfolds
An attacker with local access crafts or supplies input that forces an affected application to render its option table help text when the terminal width is smaller than the table, triggering the underflow and resulting application crash.
How to fix it
Upgrade the popt library to a version containing the integer-underflow fix once released by upstream; rebuild or reinstall any statically linked applications against the patched library.
How to confirm the fix worked
Inspect the installed popt shared library or source for the corrected formatting routine; attempt to trigger wide help output under a narrow terminal and confirm the process no longer crashes.
Typical attack path
- Gain local shell or user context on a system using a vulnerable popt-linked binary
- Invoke the binary with arguments or environment that cause it to format and print its full help/usage table
- Ensure terminal width is narrower than the widest option table line to hit the underflow path
- Observe application crash or missing help output confirming denial of service
How to detect it
Review system logs and application crash reports for abrupt termination of popt-linked binaries immediately after help or usage text is emitted; correlate with user sessions that altered terminal width or invoked verbose help flags.
What your security team should do
- Inventory all binaries and packages that dynamically or statically link popt
- Prioritize patching on multi-user or shared systems where local users can run affected CLIs
- Monitor upstream popt releases and distribution advisories for the corrected version
- Consider temporary workarounds such as forcing wide terminal emulation or disabling help paths if immediate patching is delayed
The record
An integer underflow was found in the popt library when formatting help text for option tables that exceed the terminal width. A local user who can cause an application to print help under those conditions may cause that application to crash or fail to display help, resulting in a denial of service of the affected application.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121727 Kore before 4.3.0 contains an integer underflow vulnerability in HTTP request body… CWE-191
- CVE-2026-61497 TinyUSB before 0.20.1 contains an integer underflow vulnerability in the HID host report… CWE-191
- CVE-2026-120060 psqlODBC trusts counts and lengths in server data in three places. CWE-191
- CVE-2026-120058 psqlODBC sizes its row cache from the column count of a cursor's first result, but… CWE-191
- CVE-2026-20576 In afe, there is a possible out of bounds write due to a missing bounds check. CWE-191
- CVE-2026-20572 In adsp, there is a possible out of bounds write due to an integer overflow. CWE-191
- CVE-2026-111735 P-Net before 1.0.3 contains an integer underflow in pf_cpm_c_data_ind(). CWE-191
- CVE-2026-103411 An Integer Underflow vulnerability in DhcpMessageDecoder in Juniper Networks Session… CWE-191