Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege shell access
-
DeliveryCraft deeply nested popt alias definitions or trigger repeated poptStuffArgs invocations
-
ExploitOff-by-one write overwrites adjacent memory
-
ExecutionHost application reads and dereferences corrupted argument data
-
PersistApplication processes data without bounds validation
-
ImpactExecute arbitrary code at application privilege level
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local system access with at least low-privilege credentials (AV:L/PR:L per CVSS vector). High attack complexity (AC:H) is confirmed: the off-by-one must be triggered through either repeated programmatic invocations of poptStuffArgs by the host application or through deeply nested command-line alias definitions - neither condition occurs in standard, single-invocation argument parsing. A second chained condition is also required: the host application must subsequently process the corrupted internal argument data in an unsafe manner; the library corruption alone is insufficient for code execution and is scored only A:L absent this condition. Limiting factors include: strictly local attack vector (no network-based exploitation path exists); non-default triggering conditions precluding casual exploitation; CVSS Scope:Unchanged meaning impact is contained to the affected application process; and the requirement for attacker influence over alias configuration or application calling patterns. Systems where popt is invoked only by privileged, non-interactive daemons processing system-controlled inputs face the lowest practical risk. |
| Impact | Red Hat's official CVSS 3.1 score of 2.5 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L) reflects a conservative, best-case impact - recording only low Availability impact and no Confidentiality or Integrity impact - while the vendor's own description and the assigned tags explicitly flag RCE and Memory Corruption potential. This discrepancy is significant: the CVSS impact metrics (C:N/I:N) do not align with the stated possibility of arbitrary code execution, suggesting scorers weighted the conditionality of the RCE chain heavily. EPSS data was not supplied; given local-only access, high attack complexity, and a chained exploitation requirement (the host application must also process corrupted data unsafely), opportunistic or automated exploitation is implausible. There is no CISA KEV listing and no known public proof-of-concept. The realistic threat is a targeted, post-access scenario by an attacker who already has local shell access and knowledge of a specific application's popt usage pattern. For most organizations, this fits a standard patching cadence rather than an out-of-band response. The official CVSS score likely understates worst-case impact but correctly captures that reliable exploitation is non-trivial. |
| Exploit ScenarioDerived | A local attacker with low-privilege shell access on an RHEL system identifies a host application that makes repeated calls to poptStuffArgs or permits user-controlled alias nesting in a popt configuration file. By crafting deeply nested alias definitions or triggering the repeated-call path, the attacker incrementally advances the off-by-one write, corrupting adjacent memory structures. If the targeted host application subsequently processes those corrupted arguments without bounds validation - for example, dereferencing a corrupted pointer - the attacker redirects execution to attacker-controlled code running at the application's privilege level. No public proof-of-concept has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 04, 2026
Off-by-one memory corruption in popt's poptStuffArgs function allows a local low-privileged attacker to overwrite adjacent memory and potentially execute arbitrary code within any host application that unsafely processes the corrupted argument data. All supported Red Hat Enterprise Linux releases (6 through 10), Red Hat Hardened Images, and OpenShift Container Platform 4 ship the affected library. No public exploit code has been identified and no CISA KEV listing exists; exploitation requires high-complexity triggering conditions, making this a routine patch priority rather than an emergency response item.
RemediationAI
The primary remediation is to apply the Red Hat-issued popt package update for the applicable RHEL version when released; monitor the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-18739 and Bugzilla entry 2510737 at https://bugzilla.redhat.com/show_bug.cgi?id=2510737 for confirmed patched version numbers, which were not available in the data at time of analysis. As a compensating control pending patch availability, restrict local interactive shell access to affected systems to the minimum required set of users, reducing the pool of potential attackers who could trigger the repeated-call or deep-alias invocation pattern; note this does not protect against exploitation via setuid binaries or daemons that invoke popt on behalf of lower-privileged users. Application developers embedding popt should audit any code path following poptStuffArgs calls to ensure argument data is validated before further processing, which addresses the chained condition required for RCE but is not a substitute for patching the library itself.
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, packaged as a core system component in RPM-based Linux distributions including all RHEL variants. The vulnerable function poptStuffArgs manages a dynamically-sized internal argument array; a classic off-by-one error (CWE-787: Out-of-bounds Write) allows a write operation to land one position beyond the allocated buffer boundary, corrupting adjacent heap or stack memory. This class of bug can overwrite internal control structures, function pointers, or data used by the calling application. The flaw activates under two triggering paths: a host application making repeated programmatic calls to poptStuffArgs, or deeply nested command-line alias definitions that recursively re-enter the function. Affected CPEs span cpe:2.3:a:red_hat:red_hat_enterprise_linux_6 through red_hat_enterprise_linux_10, red_hat_hardened_images, and red_hat_openshift_container_platform_4, indicating the vulnerability is present across Red Hat's entire supported product surface for this library.
Know when Red Hat Enterprise Linux 10 gets its next vulnerability
- 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
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:L/AC:H/PR:L confirmed from vendor CVSS; C/I/A:H reflects the described worst-case RCE outcome despite vendor's conservative C:N/I:N/A:L scoring.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in popt, a command-line option parsing library. An off-by-one error in the poptStuffArgs function, when repeatedly called by a host application or through deep alias nesting, can lead to corruption of internal program data. This corruption could potentially enable a local attacker to execute arbitrary code if the host application then unsafely processes the altered data.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
EUVD-2026-52577
GHSA-255r-gqmx-m2jm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB