{"id":"CVE-2026-18321","aliases":["ALPINE-CVE-2026-18321","DEBIAN-CVE-2026-18321","EUVD-2026-51593","GHSA-6978-pcpc-2c45","MGASA-2026-0430","UBUNTU-CVE-2026-18321","openSUSE-SU-2026:11417-1"],"status":"published","title":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') in ntpsec","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00111,"percentile":0.0135,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2026-07-31T18:04:06Z","modified":"2026-11-03T06:33:01Z","fixes":[{"ecosystem":"Alpine:v3.24","package":"ntpsec","fixed_in":["1.2.5-r0"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ntpsec","fixed_in":["1.2.5+dfsg-1"],"sources":["osv"]},{"ecosystem":"Mageia:10","package":"ntpsec","fixed_in":["1.2.4-3.2.mga10"],"sources":["osv"]},{"ecosystem":"Mageia:9","package":"ntpsec","fixed_in":["1.2.2-5.1.mga9"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"ntpsec","fixed_in":["1.2.5-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.24","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2+dfsg1-1","1.2.2+dfsg1-1+deb12u1","1.2.2+dfsg1-2","1.2.2+dfsg1-3","1.2.2+dfsg1-4","1.2.3+dfsg1-1","1.2.3+dfsg1-2","1.2.3+dfsg1-3","1.2.3+dfsg1-4","1.2.3+dfsg1-5","1.2.3+dfsg1-6","1.2.3+dfsg1-7","1.2.3+dfsg1-8","1.2.4+dfsg-1","1.2.5+dfsg-1"]},{"source":"osv","ecosystem":"Debian:13","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-8","1.2.4+dfsg-1","1.2.5+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5+dfsg-1"}]}],"versions":["1.2.3+dfsg1-8","1.2.4+dfsg-1"]},{"source":"osv","ecosystem":"Mageia:10","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-3.2.mga10"}]}]},{"source":"osv","ecosystem":"Mageia:9","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-5.1.mga9"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ntpsec","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ntpsec","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ntpsec","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"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ntpsec","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"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-8ubuntu2","1.2.3+dfsg1-8ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-8ubuntu1","1.2.3+dfsg1-8ubuntu2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1.1"}]}]}],"products":[{"vendor":"ntpsec","product":"ntpsec"}],"references":[{"url":"https://gitlab.com/NTPsec/ntpsec/-/work_items/890","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18321"},{"url":"https://github.com/advisories/GHSA-6978-pcpc-2c45"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-18321","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-18321","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0430.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=36168","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/UTEH533TYAX7KYJMMA773F3LEQ3E2JX2/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QJWRFBL7QOCH5ZDIFCWDUMRTVPZNV7UQ/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-18321","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-18321","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-18321","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-18321","title":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') in ntpsec","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T18:04:06.697Z","modified":"2026-07-31T18:54:10.546Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:20:12.260247Z"}],"euvd":[{"id":"EUVD-2026-51593","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T18:04:06Z","modified":"2026-07-31T18:54:10Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T18:02:25.522444Z"}],"ghsa":[{"id":"GHSA-6978-pcpc-2c45","title":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T21:31:54Z","modified":"2026-07-31T21:31:59Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:10:00.950607Z"}],"nvd":[{"id":"CVE-2026-18321","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T19:17:08.183Z","modified":"2026-08-28T15:44:39.323Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:12:34.290716Z"}],"osv":[{"id":"ALPINE-CVE-2026-18321","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T19:17:08.183Z","modified":"2026-11-03T06:33:01.567038725Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:15:53.944853Z"},{"id":"DEBIAN-CVE-2026-18321","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T19:17:08.183Z","modified":"2026-10-01T03:03:20.923392865Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:53.097669Z"},{"id":"UBUNTU-CVE-2026-18321","description":"Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd","status":"published","published":"2026-07-31T19:17:00Z","modified":"2026-10-17T12:59:53.377476925Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:56:01.334185Z"},{"id":"MGASA-2026-0430","title":"Updated ntpsec packages fix a security vulnerability","description":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')\nin ntpsec. (CVE-2026-18321)\n","status":"published","published":"2026-09-20T04:25:32Z","modified":"2026-09-20T04:30:02.955351329Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"openSUSE-SU-2026:11417-1","title":"libntpc1-1.2.5-1.1 on GA media","description":"These are all security issues fixed in the libntpc1-1.2.5-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-08-01T00:00:00Z","modified":"2026-08-02T11:45:09.382106602Z","updated_at":"2026-11-02T16:58:39.516824Z"}]}}
