Description
An out-of-bounds read in the NTS-KE client response parser (nts_client_process_response_core) in NTPsec before 1.2.4 allows a malicious NTS-KE server to read the client's stack memory, including pointers that defeat ASLR, which the client then sends in cleartext as NTS cookies, via an NTS-KE record whose declared length exceeds the data received.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NTPsec | NTPsec | 1.1.4 – < 1.2.4 | 1.2.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ntpsec | 1.2.4+dfsg-1 | — |
| Debian 13 | ntpsec | No fix yet | — |
| Debian 12 | ntpsec | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ntpsec | No fix yet | — |
| Ubuntu 26.04 LTS | ntpsec | No fix yet | — |
| Ubuntu 24.04 LTS | ntpsec | No fix yet | — |
| Ubuntu 22.04 LTS | ntpsec | No fix yet | — |
| Ubuntu 20.04 LTS | ntpsec | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ntpsec | No fix yet | — |