Bug 2511605 - CVE-2026-18739 popt: Off-by-one in poptStuffArgs [fedora-all]
Summary: CVE-2026-18739 popt: Off-by-one in poptStuffArgs [fedora-all]
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: popt
Version: 45
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["a75cbec9-7b7d-497f-bfb2-d...
Depends On:
Blocks: CVE-2026-18739
TreeView+ depends on / blocked
 
Reported: 2026-08-05 15:28 UTC by Charles Timko
Modified: 2026-08-17 15:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description Charles Timko 2026-08-05 15:28:21 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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`

Comment 1 Aoife Moloney 2026-08-17 15:47:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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