{"schemaVersion":3,"id":"CVE-2018-7183","aliases":["UBUNTU-CVE-2018-7183","DEBIAN-CVE-2018-7183"],"status":"published","duplicateOf":null,"title":null,"description":"Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.","dates":{"published":"2018-03-08T20:00:00.000Z","modified":"2024-08-05T06:24:11.482Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.10213,"percentile":0.95631,"severity":"medium","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.10213},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09796,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.10213,"percentile":0.95631}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09796,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.10213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.10213,"percentile":0.95631}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.04","noFixRecorded":false,"fixedIn":null},{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.04 | 14.04 | 16.04 | 17.10 | 18.04","eol":{"isEol":true,"eolDate":"2017-04-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"12.04","label":"12.04 'Precise Pangolin' (LTS)","eolFrom":"2017-04-28T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"12.04.5"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"ntp","name":"ntp","label":"ntp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ntp","purlType":"deb","versions":[{"text":"< 1:4.2.8p11+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2.8p11+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ntp","name":"ntp","label":"ntp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ntp","purlType":"deb","versions":[{"text":"< 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.2.8p4+dfsg-3ubuntu5.9","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.2.8p10+dfsg-5ubuntu7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13 | < 1:4.2.8p4+dfsg-3ubuntu5.9 | < 1:4.2.8p10+dfsg-5ubuntu7.1","eol":null,"hubHref":null},{"vendor":"freebsd","product":"freebsd","name":"FreeBSD","label":"freebsd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"10.3","noFixRecorded":false,"fixedIn":null},{"text":"10.4","noFixRecorded":false,"fixedIn":null},{"text":"11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.3 | 10.4 | 11.1","eol":{"isEol":true,"eolDate":"2018-04-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10.3","label":"releng/10.3","eolFrom":"2018-04-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"freebsd","label":"FreeBSD","category":"os"}},"hubHref":"/vendor/freebsd/freebsd"},{"vendor":"netapp","product":"element_software","name":"element software","label":"element_software","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/element_software"},{"vendor":"ntp","product":"ntp","name":"ntp","label":"ntp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.2.8:p10","noFixRecorded":false,"fixedIn":null},{"text":"4.2.8:p6","noFixRecorded":false,"fixedIn":null},{"text":"4.2.8:p7","noFixRecorded":false,"fixedIn":null},{"text":"4.2.8:p8","noFixRecorded":false,"fixedIn":null},{"text":"4.2.8:p9","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.2.8:p10 | 4.2.8:p6 | 4.2.8:p7 | 4.2.8:p8 | 4.2.8:p9","eol":null,"hubHref":"/vendor/ntp/ntp"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://security.gentoo.org/glsa/201805-12","label":"security.gentoo.org/glsa/201805-12","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-18:02.ntp.asc","label":"security.freebsd.org/advisories/FreeBSD-SA-18:02.ntp.asc","hostname":"security.freebsd.org","tags":["Vendor Advisory","X Refsource FREEBSD","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3707-2/","label":"usn.ubuntu.com/3707-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3707-1/","label":"usn.ubuntu.com/3707-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/103351","label":"www.securityfocus.com/bid/103351","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","label":"www.oracle.com//security-alerts/cpujul2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20180626-0001/","label":"security.netapp.com/advisory/ntap-20180626-0001/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://support.ntp.org/bin/view/Main/SecurityNotice#February_2018_ntp_4_2_8p11_NTP_S","label":"support.ntp.org/bin/view/Main/SecurityNotice","hostname":"support.ntp.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://www.synology.com/support/security/Synology_SA_18_13","label":"www.synology.com/support/security/Synology_SA_18_13","hostname":"www.synology.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://support.ntp.org/bin/view/Main/NtpBug3414","label":"support.ntp.org/bin/view/Main/NtpBug3414","hostname":"support.ntp.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","label":"support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","hostname":"support.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"https://ubuntu.com/security/CVE-2018-7183","label":"ubuntu.com/security/CVE-2018-7183","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.kb.cert.org/vuls/id/961909","label":"www.kb.cert.org/vuls/id/961909","hostname":"www.kb.cert.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3707-1","label":"ubuntu.com/security/notices/USN-3707-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3707-2","label":"ubuntu.com/security/notices/USN-3707-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7183","label":"www.cve.org/CVERecord?id=CVE-2018-7183","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7183","label":"security-tracker.debian.org/tracker/CVE-2018-7183","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0195","OPENSUSE-SU-2024:11102-1","SUSE-SU-2018:0808-1","SUSE-SU-2018:0956-1","SUSE-SU-2018:1464-1","SUSE-SU-2018:1765-1","SUSE-SU-2018:1765-2","USN-3707-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11102-1","SUSE-SU-2018:0808-1","SUSE-SU-2018:0956-1","SUSE-SU-2018:1464-1","SUSE-SU-2018:1765-1","SUSE-SU-2018:1765-2","USN-3707-1"]},"timeline":[{"kind":"published","date":"2018-03-08T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:24:11.482Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:16:50.789Z","stale":false,"partial":false}}