Every CVE Search/ Get API key

CVE-2026-18739

Popt-devel: popt-static: off-by-one in poptstuffargs

2.5 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.14%Unchanged since Aug 4, 2026
90%50%10%1%

What each source reports

CVE List Score used 2.5

Popt-devel: popt-static: off-by-one in poptstuffargs

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.

Record
CVE-2026-18739
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-787
Updated
2026-11-06
EUVDEUVD-2026-52577 2.5

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.

Record
EUVD-2026-52577
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-06
GitHub AdvisoriesGHSA-255r-gqmx-m2jm 2.5

A flaw was found in popt, a command-line option parsing library. An off-by-one error in the...

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.

Record
GHSA-255r-gqmx-m2jm
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-787
Updated
2026-11-02
NVD 2.5

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.

Record
CVE-2026-18739
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-787
Updated
2026-11-06
OSVBELL-CVE-2026-18739 2.5
Record
BELL-CVE-2026-18739
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2026-18739 2.5

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.

Record
DEBIAN-CVE-2026-18739
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-07
Show 9 moreShow less
OSVOESA-2026-3611 2.5

popt security update

The popt library exists essentially for parsing command line options. Some specific advantages of popt are no global variables (allowing multiple passes in parsing argv), parsing an arbitrary array of argv-style elements (allowing parsing of command-line-strings from any source), a standard method of option aliasing, ability to exec external option filters, and automatic generation of help and usage messages.

Security Fix(es):

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.(CVE-2026-18739)

Record
OESA-2026-3611
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2026-3612 2.5

popt security update

The popt library exists essentially for parsing command line options. Some specific advantages of popt are no global variables (allowing multiple passes in parsing argv), parsing an arbitrary array of argv-style elements (allowing parsing of command-line-strings from any source), a standard method of option aliasing, ability to exec external option filters, and automatic generation of help and usage messages.

Security Fix(es):

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.(CVE-2026-18739)

Record
OESA-2026-3612
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2026-3613 2.5

popt security update

The popt library exists essentially for parsing command line options. Some specific advantages of popt are no global variables (allowing multiple passes in parsing argv), parsing an arbitrary array of argv-style elements (allowing parsing of command-line-strings from any source), a standard method of option aliasing, ability to exec external option filters, and automatic generation of help and usage messages.

Security Fix(es):

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.(CVE-2026-18739)

Record
OESA-2026-3613
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2026-3614 2.5

popt security update

The popt library exists essentially for parsing command line options. Some specific advantages of popt are no global variables (allowing multiple passes in parsing argv), parsing an arbitrary array of argv-style elements (allowing parsing of command-line-strings from any source), a standard method of option aliasing, ability to exec external option filters, and automatic generation of help and usage messages.

Security Fix(es):

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.(CVE-2026-18739)

Record
OESA-2026-3614
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2026-3846 2.5

popt security update

The popt library exists essentially for parsing command line options. Some specific advantages of popt are no global variables (allowing multiple passes in parsing argv), parsing an arbitrary array of argv-style elements (allowing parsing of command-line-strings from any source), a standard method of option aliasing, ability to exec external option filters, and automatic generation of help and usage messages.

Security Fix(es):

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.(CVE-2026-18739)

A flaw was found in popt. This vulnerability allows an attacker to provide specially crafted configuration content to a host, which, when loaded, can lead to a small memory corruption issue. This occurs because of an error in how the poptConfigFileToString function reallocates memory for buffers. Successful exploitation could result in heap metadata corruption, potentially causing the affected process to become unavailable (denial of service).(CVE-2026-18743)

Record
OESA-2026-3846
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHSA-2026:56984 2.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:56984
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2026-18739 2.5

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.

Record
UBUNTU-CVE-2026-18739
CVSS 3.1
2.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-94508 No score

CVE-2026-18739 affecting package popt 1.19-2

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.

Record
AZL-94508
Updated
2026-11-05
OSVAZL-94596 No score

CVE-2026-18739 affecting package rsync 3.5.1-1

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.

Record
AZL-94596
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
popt
Azure Linux:3
through 1.19-2 None known
rsync
Azure Linux:3
through 3.5.1-1 None known
popt
Alpaquita:23
1.19-r0 up to 1.19-r1
1.19-r1
popt
Alpaquita:25
1.19-r4 up to 1.19-r5
1.19-r5
popt
Alpaquita:stream
1.19-r0 up to 1.19-r5
1.19-r5
popt
Debian:12
All versions, plus listed versions
1.19+dfsg-11.19+dfsg-2
None known
popt
Debian:13
All versions, plus listed versions
1.19+dfsg-2
None known
popt
Debian:14
All versions, plus listed versions
1.19+dfsg-2
None known
popt
openEuler:20.03-LTS-SP4
before 1.18-4.oe2003sp4
1.18-4.oe2003sp4
popt
openEuler:22.03-LTS-SP4
before 1.18-4.oe2203sp4
1.18-4.oe2203sp4
Show 14 moreShow less
Affected packages
PackageAffectedFixed
popt
openEuler:24.03-LTS-SP1
before 1.19-5.oe2403sp1
1.19-5.oe2403sp1
popt
openEuler:24.03-LTS-SP3
before 1.19-5.oe2403sp3
1.19-5.oe2403sp3
popt
openEuler:24.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.19-6.oe2403sp4
1.19-6.oe2403sp4
popt
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.19-11.1.hum1
0:1.19-11.1.hum1
popt-devel
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.19-11.1.hum1
0:1.19-11.1.hum1
popt-static
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.19-11.1.hum1
0:1.19-11.1.hum1
popt
Ubuntu:14.04:LTS
All versions, plus listed versions
1.16-7ubuntu31.16-81.16-8ubuntu1
None known
popt
Ubuntu:16.04:LTS
All versions, plus listed versions
1.16-10
None known
popt
Ubuntu:18.04:LTS
All versions, plus listed versions
1.16-101.16-11
None known
popt
Ubuntu:20.04:LTS
All versions, plus listed versions
1.16-121.16-14
None known
popt
Ubuntu:22.04:LTS
All versions, plus listed versions
1.18-2build21.18-2build31.18-31.18-3build1
None known
popt
Ubuntu:24.04:LTS
All versions, plus listed versions
1.19+dfsg-11.19+dfsg-1build1
None known
popt
Ubuntu:26.10
All versions, plus listed versions
1.19+dfsg-2build1
None known
popt
Ubuntu:26.04:LTS
All versions, plus listed versions
1.19+dfsg-21.19+dfsg-2build1
None known

History

History
RecordedChangedSources
productsCVE List, EUVD
affected
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-18739 is a low vulnerability (CVSS 2.5) in Rpm-software-management Popt, published August 4, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. Fixed in popt 1.19-r1.

References

Show 15 moreShow less
MoveEnter Open