Bug 2510737 (CVE-2026-18739) - CVE-2026-18739 popt-devel: popt-static: Off-by-one in poptStuffArgs
Summary: CVE-2026-18739 popt-devel: popt-static: Off-by-one in poptStuffArgs
Keywords:
Status: NEW
Alias: CVE-2026-18739
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2511605
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-03 18:55 UTC by OSIDB Bzimport
Modified: 2026-08-05 15:28 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-03 18:55:51 UTC
Depth check lacks + 1 vs handleAlias; 10th stuff can advance os past optionStack[0..9] into adjacent poptContext fields (e.g. leftovers). Claimed LCE only if host uses corrupted poptGetArg* unsafely.

popt-1.18/src/popt.c:1671

Flow: Host repeatedly calls poptStuffArgs (and/or deep alias nesting) → overflow con->os → corrupt context → later poptGetArg / poptGetArgs / poptPeekArg → only if host sinks that string into exec/system/popen/dlopen (or equivalent).

Analysis has identified that this goes back to the git tag `popt-1_1_1`


Note You need to log in before you can comment on or make changes to this bug.