BSD Ports

Erlang/OTP -- public_key accepts non-CA certificate as intermediate issuer

· CVE-2026-42789 · VuXML entry

https://github.com/erlang/otp/security/advisories/GHSA-c99q-jmpx-v8qq reports: Erlang/OTP's public_key application contains a path-validation flaw where non-CA certificates lacking keyUsage extensions can be accepted as intermediate issuers. An attacker with an end-entity certificate issued by a trusted CA can exploit this to forge arbitrary leaf certificates, allowing public_key:pkix_path_validation/3 to validate …

Affected versions

By system

3 still vulnerable, 4 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
DragonFlylang/erlang25.3.2.7_1,4 vulnerable since 2026-05-28
NetBSDlang/erlang27.3.4.7 not listed
MidnightBSDlang/erlang25.3.2.20_1,4 in range, by version
FreeBSDlang/erlang28.5.0.8_1,4 fixed (61 days after)
DragonFlylang/erlang-runtime2727.3.4 vulnerable since 2026-05-28
FreeBSDlang/erlang-runtime2727.3.4.19_1 fixed (61 days after)
DragonFlylang/erlang-runtime2828.0 vulnerable since 2026-05-28
MidnightBSDlang/erlang-runtime2828.5.0.8 out of range, by version
FreeBSDlang/erlang-runtime2828.5.0.8_1 fixed (61 days after)
FreeBSDlang/erlang-runtime2929.1.2_1 fixed (36 days after)