CVE-2026-121506Out-of-bounds Write in NTPsec
An out-of-bounds read and write in NTS client extension field parsing (extens_client_recv) in NTPsec before 1.2.5 allows a remote attacker who can send NTP server-mode replies to an NTS client to corrupt heap memory and crash ntpd, and, combined with the NTS-KE client out-of-bounds read fixed in 1.2.4, to bypass NTS authentication and set the client's time, via an NTS Authenticator and Encrypted Extension Fields field whose nonce length exceeds the field.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ntpsec | Fix pending | UBUNTU-CVE-2026-121506 | |
| Ubuntu 26.04 | ntpsec | Under investigation | UBUNTU-CVE-2026-121506 | |
| Ubuntu 24.04 | ntpsec | Under investigation | UBUNTU-CVE-2026-121506 | |
| Ubuntu 22.04 | ntpsec | Under investigation | UBUNTU-CVE-2026-121506 | |
| Ubuntu 20.04 | ntpsec | Fix pending | UBUNTU-CVE-2026-121506 | |
| Ubuntu 18.04 | ntpsec | Fix pending | UBUNTU-CVE-2026-121506 | |
| Debian 14 | ntpsec | Fixed | 1.2.5+dfsg-1 | DEBIAN-CVE-2026-121506 |
| Debian 13 | ntpsec | Fix pending | DEBIAN-CVE-2026-121506 | |
| Debian 12 | ntpsec | Fix pending | DEBIAN-CVE-2026-121506 |
What the vendor says
As published in the CVE record by GitLab, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NTPsec: affected: 1.1.4 to before 1.2.5; fixed in
1.2.5
Solution: Upgrade to version 1.2.5 or above.
References
- https://gitlab.com/NTPsec/ntpsec/-/commit/0a36941e499d533dfbc3fb6b1fcd8c367679d719
- https://gitlab.com/NTPsec/ntpsec/-/work_items/902
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.