Skip to main content

popt library CVE-2026-18839

| EUVDEUVD-2026-53642 LOW
Integer Underflow (CWE-191)
2026-08-05 secalert@redhat.com GHSA-8fjx-p4xg-vgp8
2.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege shell access
  2. Delivery
    Set terminal to narrow width or identify application with wide option table
  3. Exploit
    Invoke popt-linked application with help flag
  4. Execution
    popt help formatter encounters option table exceeding terminal width
  5. Persist
    Integer underflow in layout calculation
  6. Impact
    Application crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires local system access with at least low-privilege credentials (PR:L per CVSS vector). The vulnerable code path is only reachable when an application triggers help text output - typically via a --help or -h flag. A specific environmental condition must also hold: the option table rendered for help display must exceed the current terminal width, which requires either a narrow terminal or an application with a very wide option layout. User interaction is required in the sense that a user (or attacker) must actively invoke the help output. What limits exploitation: the attack is purely local with no network vector, requires high complexity to reliably trigger the underflow, produces only application-level DoS with no privilege escalation, and has no confidentiality or integrity impact. Non-default or unusual terminal configurations increase trigger likelihood.

Impact

The overall risk is very low. The CVSS 3.1 base score of 2.2 with vector AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L reflects multiple stacked constraints: local access only, high attack complexity (specific terminal-width condition must be met), low-privilege authentication, and required user interaction (help output must be triggered). The scope is unchanged and the only impact is low availability - crashing the application. No EPSS data was provided in the intelligence sources, but given the complexity requirements and DoS-only impact, exploitation probability is expected to be very low. The vulnerability is not listed in CISA KEV, and no public proof-of-concept code has been identified. This is a genuine low-priority finding - not a case of high CVSS masking real risk, but consistently low across all signal dimensions. The primary realistic concern is denial of service for CLI utilities on shared Linux systems.

Exploit ScenarioDerived

A local user with low privileges on a shared Linux system sets their terminal to a narrow width, then invokes a popt-linked CLI application with a help flag (e.g., --help), causing the help formatter to encounter an option table wider than the terminal. The integer underflow fires in the layout calculation, crashing the application. No public exploit code exists at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Integer underflow in the popt command-line option parsing library can crash any application that links against it when help text is rendered under specific terminal-width conditions. Affects local, low-privileged users on systems running popt-linked applications - a broad attack surface given popt's presence across Red Hat-derived Linux distributions. Impact is strictly denial of service against the affected application; no confidentiality or integrity loss is possible. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Apply updated popt packages from Red Hat when they become available via the standard Red Hat subscription channels. Monitor https://access.redhat.com/security/cve/CVE-2026-18839 and https://bugzilla.redhat.com/show_bug.cgi?id=2511010 for patch release announcements. No specific fixed version is confirmed from the available data at time of analysis - do not assume a particular version is safe until vendor confirmation. As a compensating control, restricting local shell access to untrusted users on affected systems limits the exposure, though the practical risk of this vulnerability to most environments is very low. There are no known workarounds that disable the vulnerable code path without also disabling legitimate help output functionality.

Affected VersionsENISA

popt 1.13 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

popt is a C library for parsing command-line options, widely used as a dependency in applications on Red Hat, Fedora, CentOS, and related Linux distributions. CWE-191 (Integer Underflow) describes the root cause: when the library formats help text for option tables whose rendered width exceeds the current terminal width, an arithmetic operation produces a value that wraps below zero for an unsigned integer type, causing a miscalculation in buffer or output handling that results in application crash. The bug is triggered during the help-formatting code path - specifically when column or line calculations underflow - and is not reachable through normal option parsing, only through the help display routines.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 2.2 LOW
AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
vuln.today AI 2.2 LOW

Local-only vector, requires triggering help output with specific terminal width; no confidentiality or integrity impact, only low availability loss.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Medium
common library dependency on Red Hat-based Linux distributions
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

11
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +11
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy