CVE-2026-18839: Popt-devel: popt-static: size_t underflow in singleoptionhelp

Published Aug 4, 2026
·
Updated

An integer underflow was found in the popt library when formatting help text for option tables that exceed the terminal width. A local user who can cause an application to print help under those conditions may cause that application to crash or fail to display help, resulting in a denial of service of the affected application.

Other sources

Summary: columns->max - indentLength wraps when indent exceeds width; may fail malloc or (reporter) OOB NUL write on help path.

Flow: Application option table + narrow terminal / large option width → help formatting → underflow.

Found back in popt-113-release tag.

Red Hat

Affected Software

1 affected component
OpenBSD popt=1.13

Event History

Aug 4, 2026
Data Sourced
via Red Hat·02:34 PM
DescriptionSeverityAffected Software
Aug 5, 2026
CVE Published
via MITRE·08:45 PM
Data Sourced
via MITRE·08:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-18839?

The severity of CVE-2026-18839 is classified as low with a score of 2.2.

2

How does CVE-2026-18839 affect the popt library?

CVE-2026-18839 causes an integer underflow in the popt library when handling help text for option tables exceeding terminal width.

3

What consequences can arise from CVE-2026-18839?

A local user can exploit CVE-2026-18839 to cause an application to crash or fail to display help, resulting in a denial of service.

4

How can I mitigate CVE-2026-18839?

To mitigate CVE-2026-18839, ensure that you are using an updated version of the popt library that addresses the integer underflow vulnerability.

5

Who is affected by CVE-2026-18839?

Local users of applications using the vulnerable versions of the popt library may be affected by CVE-2026-18839.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203