BSD Ports

popt -- Out-of-bounds Write

· CVE-2026-18739 · VuXML entry

https://access.redhat.com/errata/RHSA-2026:56984 reports: 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 …

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdevel/popt1.19,2 fixed (5 days after)
OpenBSDdevel/popt1.16p4 in range, by version
NetBSDdevel/popt1.19 not listed
MidnightBSDdevel/popt1.19 in range, by version
DragonFlydevel/popt1.19_1 vulnerable since 2026-09-23