{"id":"CVE-2026-121506","summary":"Out-of-bounds Write in NTPsec","details":"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.","modified":"2026-11-21T21:00:19.884362302Z","published":"2026-11-03T14:17:24.651Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121506.json","cna_assigner":"GitLab","cwe_ids":["CWE-787"]},"references":[{"type":"WEB","url":"https://gitlab.com/NTPsec/ntpsec/-/work_items/902"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121506.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121506"},{"type":"FIX","url":"https://gitlab.com/NTPsec/ntpsec/-/commit/0a36941e499d533dfbc3fb6b1fcd8c367679d719"},{"type":"PACKAGE","url":"https://gitlab.com/NTPsec/ntpsec"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/NTPsec/ntpsec","events":[{"introduced":"79cd18fc56fc902c3a7fd78bcc32ee72f52eb396"},{"fixed":"42b5703303c8c7e6513f3a119cfab670924dd7be"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.1.4"},{"fixed":"1.2.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"0a36941e499d533dfbc3fb6b1fcd8c367679d719"}]}]}}],"versions":["NTPsec_1_2_4","NTPsec_1_2_3","NTPsec_1_2_2","NTPsec_1_2_1","NTPsec_1_2_0","NTPsec_1_1_9","NTPsec_1_1_8","NTPsec_1_1_7","NTPsec_1_1_6","NTPsec_1_1_5","NTPsec_1_1_4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121506.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:N/I:H/A:H"}]}