{"id":"UBUNTU-CVE-2026-121505","details":"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.","modified":"2026-11-05T11:46:31.490963827Z","published":"2026-11-03T15:17:00Z","upstream":["CVE-2026-121505"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-121505"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-121505"},{"type":"REPORT","url":"https://gitlab.com/NTPsec/ntpsec/-/commit/caf0eb5df3c6ddbfc2941389bff0f9146835c021"},{"type":"REPORT","url":"https://gitlab.com/NTPsec/ntpsec/-/work_items/836"},{"type":"REPORT","url":"https://gitlab.com/NTPsec/ntpsec/-/work_items/902"}],"affected":[{"package":{"name":"ntpsec","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0+dfsg1-1","1.0.0+dfsg1-3","1.1.0+dfsg1-1","1.1.0+dfsg1-1ubuntu0.1","1.1.0+dfsg1-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_version":"1.1.0+dfsg1-1ubuntu0.2","binary_name":"python3-ntp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.3+dfsg1-2","1.1.7+dfsg1-1","1.1.7+dfsg1-2","1.1.8+dfsg1-1","1.1.8+dfsg1-3","1.1.8+dfsg1-4","1.1.8+dfsg1-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.8+dfsg1-4build1","binary_name":"ntpsec"},{"binary_version":"1.1.8+dfsg1-4build1","binary_name":"ntpsec-ntpdate"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.1.8+dfsg1-4build1"},{"binary_version":"1.1.8+dfsg1-4build1","binary_name":"python3-ntp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0+dfsg1-4","1.2.1+dfsg1-2","1.2.1+dfsg1-3","1.2.1+dfsg1-3ubuntu1","1.2.1+dfsg1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.1+dfsg1-4","binary_name":"ntpsec"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.2.1+dfsg1-4"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.2.1+dfsg1-4"},{"binary_version":"1.2.1+dfsg1-4","binary_name":"python3-ntp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2+dfsg1-2","1.2.2+dfsg1-3","1.2.2+dfsg1-4","1.2.2+dfsg1-4build1","1.2.2+dfsg1-4build2"],"ecosystem_specific":{"binaries":[{"binary_name":"ntp","binary_version":"1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2"},{"binary_name":"ntpdate","binary_version":"1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2"},{"binary_name":"ntpsec","binary_version":"1.2.2+dfsg1-4build2"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.2.2+dfsg1-4build2"},{"binary_name":"ntpsec-ntpdig","binary_version":"1.2.2+dfsg1-4build2"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.2.2+dfsg1-4build2"},{"binary_name":"python3-ntp","binary_version":"1.2.2+dfsg1-4build2"},{"binary_name":"sntp","binary_version":"1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-8ubuntu2","1.2.3+dfsg1-8ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.2.3+dfsg1-8ubuntu3"},{"binary_version":"1.2.3+dfsg1-8ubuntu3","binary_name":"ntpsec-ntpdate"},{"binary_name":"ntpsec-ntpdig","binary_version":"1.2.3+dfsg1-8ubuntu3"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.2.3+dfsg1-8ubuntu3"},{"binary_name":"python3-ntp","binary_version":"1.2.3+dfsg1-8ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ntpsec?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-8ubuntu1","1.2.3+dfsg1-8ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.2.3+dfsg1-8ubuntu2"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.2.3+dfsg1-8ubuntu2"},{"binary_name":"ntpsec-ntpdig","binary_version":"1.2.3+dfsg1-8ubuntu2"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.2.3+dfsg1-8ubuntu2"},{"binary_version":"1.2.3+dfsg1-8ubuntu2","binary_name":"python3-ntp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-121505.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}