Security

Predictable random numbers in DNS, TCP, address layout randomisation and getrandom

KSA-2026-0023

Status
Resolved
Severity
High
CVE
CVE-2026-128739
Affected versions
0.2.0 to 0.2.4
Fixed in
0.2.5
Published
2026-11-02
Updated
2026-11-18

Summary

DNS queries used a fixed source port and query ids from a non-cryptographic generator, and the same generator was used for TCP sequence numbers, the placement of program memory, getrandom and /dev/random. An attacker on the internet could guess DNS ids to send forged answers, guess TCP sequence numbers, and predict values programs relied on for keys.

All of these now use the cryptographic random generator, and DNS uses a random source port.

Workaround

Update to 0.2.5 or later.

Credit

Brent Gordon