Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

A flaw was found in popt, a command-line option parsing library. (CVE-2026-18739)

0
Low
Published: 08/04/2026 (08/04/2026, 06:31:36 UTC)
Source: GCVE Database

Description

CVE-2026-18739 is a low-severity vulnerability in the popt command-line option parsing library. It involves an off-by-one error in the poptStuffArgs function that can corrupt internal program data when repeatedly called or through deep alias nesting. This corruption could potentially allow a local attacker to execute arbitrary code if the host application unsafely processes the corrupted data. The vulnerability requires specific conditions such as repeated calls or deep alias nesting and unsafe handling by the host application. Red Hat has released a security update addressing this issue.

CVSS v3.1

Score 2.5low

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 18:08:49 UTC

Technical Analysis

An off-by-one error exists in the poptStuffArgs function of the popt library, which can lead to corruption of internal program data when the function is called repeatedly or through deep alias nesting. This memory corruption could enable a local attacker to execute arbitrary code if the host application subsequently unsafely processes the corrupted poptContext data, for example by passing it to exec, system, popen, or dlopen functions. The vulnerability is classified as CWE-787 (Out-of-bounds Write). Red Hat has issued a security advisory and released updated RPM packages (popt-1.19-11.1.hum1) to fix this flaw.

Potential Impact

The impact is low because exploitation requires a local attacker with low privileges to repeatedly invoke the vulnerable function or use deep alias nesting, and the host application must unsafely handle the corrupted data. The vulnerability can cause memory corruption leading to potential arbitrary code execution or denial of service via application crash. However, no confidentiality, integrity, or widespread availability impacts are reported.

Mitigation Recommendations

A security update fixing this vulnerability is available from Red Hat as popt-1.19-11.1.hum1 and related packages. Users should apply this official patch to remediate the issue. No additional mitigations are specifically recommended by the vendor. Exploitation requires specific conditions and unsafe handling by the host application, so updating the popt package is the primary remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-255r-gqmx-m2jm
Osv Schema Version
1.4.0
Aliases
["CVE-2026-18739"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
3.1

Threat ID: 6a85ee2dacd9273b4969aa1a

Added to database: 08/19/2026, 17:55:57 UTC

Last enriched: 08/19/2026, 18:08:49 UTC

Last updated: 08/19/2026, 18:12:12 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses