{"id":"UBUNTU-CVE-2026-18739","details":"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.","modified":"2026-08-06T00:12:19Z","published":"2026-08-04T06:16:00Z","upstream":["CVE-2026-18739"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-18739"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-18739"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2510737"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-18739"}],"affected":[{"package":{"name":"popt","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16-7ubuntu3","1.16-8","1.16-8ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16-8ubuntu1","binary_name":"libpopt0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16-10"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16-10","binary_name":"libpopt0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16-10","1.16-11"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16-11","binary_name":"libpopt0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16-12","1.16-14"],"ecosystem_specific":{"binaries":[{"binary_name":"libpopt0","binary_version":"1.16-14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18-2build2","1.18-2build3","1.18-3","1.18-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpopt0","binary_version":"1.18-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19+dfsg-1","1.19+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpopt0","binary_version":"1.19+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}},{"package":{"name":"popt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/popt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19+dfsg-2","1.19+dfsg-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpopt0","binary_version":"1.19+dfsg-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18739.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}