Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege shell access
  2. Delivery
    Craft deeply nested popt alias definitions or trigger repeated poptStuffArgs invocations
  3. Exploit
    Off-by-one write overwrites adjacent memory
  4. Execution
    Host application reads and dereferences corrupted argument data
  5. Persist
    Application processes data without bounds validation
  6. Impact
    Execute 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.

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 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

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

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.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

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

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
standard library in all RPM-based Linux distributions
Social Media
1
Sightings
Data Quality
7 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
Total

Priority Score

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

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

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

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