Erlang/OTP -- TLS denial of service using invalid certificate chains
· CVE-2026-58227 · VuXML entry
https://github.com/erlang/otp/security/advisories/GHSA-r5jr-mq46-vmhw reports: A TLS/DTLS peer can crash the remote node by sending a certificate chain containing two mutually cross-signed certificates in unordered form. When the receiving side attempts to build a valid chain path, it enters unbounded recursion between the two certificates (A issues B, B issues A) with no cycle detection or depth limit. The call …
Affected versions
- erlang >= 23.2,4 < 28.5.0.4,4
- erlang-runtime27 < 27.3.4.15
- erlang-runtime28 < 28.5.0.4
- erlang-runtime29 < 29.0.4
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.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | lang/erlang | 25.3.2.7_1,4 | vulnerable since 2026-07-27 | |
| NetBSD | lang/erlang | 27.3.4.7 | not listed | |
| MidnightBSD | lang/erlang | 25.3.2.20_1,4 | in range, by version | |
| FreeBSD | lang/erlang | 28.5.0.8_1,4 | fixed | (1 days after) |
| DragonFly | lang/erlang-runtime27 | 27.3.4 | vulnerable since 2026-07-27 | |
| FreeBSD | lang/erlang-runtime27 | 27.3.4.19_1 | fixed | (1 days after) |
| DragonFly | lang/erlang-runtime28 | 28.0 | vulnerable since 2026-07-27 | |
| MidnightBSD | lang/erlang-runtime28 | 28.5.0.8 | out of range, by version | |
| FreeBSD | lang/erlang-runtime28 | 28.5.0.8_1 | fixed | (1 days after) |
| FreeBSD | lang/erlang-runtime29 | 29.1.2_1 | fixed | (1 days after) |