Security Advisory

CVE-2020-15025: ntpd CMAC Key Memory Leak DoS

Last updated:
  • CVE-2020-15025

CVE-2020-15025 is a memory leak in ntpd 4.2.8p11 to 4.2.8p14 and 4.3.97 to 4.3.100: when a CMAC key is configured, every packet using it leaks memory until ntpd fails. NVD scores it 4.9, MITRE 4.4. ntp 4.2.8p15 fixes it. Belden lists Hirschmann HiSecOS EAGLE firewalls 3.5.0 to 4.2.02 as affected, fixed in 04.3.00.

Vulnerability summary

CVSS base score

4.9

Medium severity

EPSS score (FIRST)

3.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2020-15025 · Source: NVD

Affected components

ComponentCPEVersion range
ntp (ntpd)cpe:2.3:a:ntp:ntp:*:*:*:*:*:*:*:*4.2.8p11 to 4.2.8p14 and 4.3.97 to before 4.3.101; fixed in 4.2.8p15 and 4.3.101 (NTP bug 3661, NVD)
Hirschmann HiSecOS EAGLE firewalls—3.5.0 to 4.2.02; fixed in 04.3.00 (Belden BSECV-2021-15; no NVD CPE)

What does this mean for affected devices?

NVD's description: "ntpd in ntp 4.2.8 before 4.2.8p15 and 4.3.x before 4.3.101 allows remote attackers to cause a denial of service (memory consumption) by sending packets, because memory is not freed in situations where a CMAC key is used and associated with a CMAC algorithm in the ntp.keys file." NVD's Primary score is CVSS v3.1 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H), v2 4.0, with CWE-401 (missing release of memory). The CNA, MITRE, scores it CVSS v3.1 4.4 with high attack complexity, the same as the NTP project. NVD's ntp CPEs are 4.2.8p11 to 4.2.8p14 and 4.3.97 to before 4.3.101; NetApp, openSUSE Leap and Oracle ZFS Storage Appliance rows are listed too. The record was published on 2020-06-24 (NVD, CVE record).

When does the leak hit a device?

The NTP project tracks it as bug 3661, reported by Martin Burnicki of Meinberg and fixed in ntp 4.2.8p15 and 4.3.101 on 2020-06-23. A CMAC cleanup in 4.2.8p11 stopped removing the CMAC data structure completely, so a system with a CMAC algorithm in ntp.keys leaks a bit of memory on every packet that uses a CMAC key ID until ntpd runs out of memory and fails. Only ntp 4.2.8p11 to 4.2.8p14 and 4.3.97 to 4.3.100 are affected, and only when CMAC keys are configured. A device that uses MD5 or SHA1 keys, or no NTP authentication, does not hit this code path.

Which Hirschmann firewalls ship the flaw?

Belden bulletin BSECV-2021-15 (2023-07-25) lists Hirschmann HiSecOS EAGLE firewalls from 3.5.0 to 4.2.02 as affected by this CVE and three other ntpd flaws: CVE-2020-11868, CVE-2020-13817 and CVE-2018-8956. Belden quotes CVSS v3.1 4.9, the NVD figure, and does not say whether HiSecOS supports CMAC keys. The fix is HiSecOS EAGLE 04.3.00. Belden's mitigation is to configure only trusted NTP servers and to make sure an attacker cannot inject spoofed NTP packets into the network (Belden BSECV-2021-15).

What should operators do?

Update HiSecOS EAGLE to 04.3.00 or later. On other firmware, the NTP project's workaround is to stop using CMAC keys on affected builds or make sure ntpd is restarted when it fails. The Debian tracker records ntp fixed in unstable in 1:4.2.8p15-1 (Debian bug 963807), marks stretch and jessie not affected because the code came later, and leaves buster as a minor issue; ntpsec is not affected. A firewall that loses its time daemon also loses time sync, which breaks log correlation and certificate checks; CVE-2020-11868 reaches the same result by blocking synchronization.

The Hirschmann and Belden switch vulnerability guide lists BSECV-2021-15 with the other third-party bulletins, the NTP and chrony guide covers time daemons in firmware, and CVE-2016-2509 is another Hirschmann management-plane flaw.

CVE-2020-15025 is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.03138, the 88.2nd percentile, in the 2026-11-22 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-23): status Modified; published 2020-06-24; NVD Primary CVSS v3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H, v2 4.0; CNA ([email protected]) Secondary CVSS v3.1 4.4 AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H; CWE-401; CPEs ntp 4.2.8p11 to p14, 4.3.97 to before 4.3.101, plus openSUSE Leap 15.1/15.2, NetApp products, Oracle ZFS Storage Appliance Kit 8.8. — NVD
  • Belden BSECV-2021-15 version 1.0 (2023-07-25), read 2026-11-23: CVE-2020-15025 (4.9) and three other ntp CVEs affect Hirschmann HiSecOS EAGLE 3.5.0 to 4.2.02; solution HiSecOS EAGLE 04.3.00; mitigation configure only trusted NTP servers and ensure an attacker cannot inject spoofed NTP packets. — Belden BSECV-2021-15
  • NTP bug 3661 page, read 2026-11-23: affects 4.2.8p11 up to 4.2.8p15 and 4.3.97 up to 4.3.101; resolved in 4.2.8p15 and 4.3.101 (2020-06-23); CVSS3.1 4.4, CVSS2 6.3; CMAC cleanup in 4.2.8p11 left the CMAC structure; mitigation: don't use CMAC keys or ensure ntpd restarts; reported by Martin Burnicki of Meinberg. — Network Time Foundation
  • Debian security tracker, read 2026-11-23: ntp fixed in unstable 1:4.2.8p15-1 (bug 963807); stretch and jessie not affected (vulnerable code introduced later); buster no-dsa (minor issue); ntpsec not affected. — Debian security tracker
  • CVE record (checked 2026-11-23): state PUBLISHED, CNA MITRE, published 2020-06-24, CNA CVSS v3.1 4.4. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.20, 1,790 entries, checked 2026-11-23. — CISA KEV
  • EPSS 0.03138, percentile 0.88226, dataset 2026-11-22, read 2026-11-23. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Belden Security Bulletin BSECV-2021-15: Multiple NTP vulnerabilities in HiSecOS
  3. NTP bug 3661: memory leak with CMAC keys
  4. Debian security tracker: CVE-2020-15025
  5. CVE.org record CVE-2020-15025
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which Hirschmann firmware fixes CVE-2020-15025?

HiSecOS EAGLE 04.3.00. Belden bulletin BSECV-2021-15 lists HiSecOS EAGLE 3.5.0 to 4.2.02 as affected by this and three other ntpd CVEs.

Is every ntpd affected?

No. Only ntp 4.2.8p11 to 4.2.8p14 and 4.3.97 to 4.3.100, and only when a CMAC algorithm is configured in ntp.keys. Older builds, MD5 or SHA1 keys and unauthenticated NTP do not hit the leak.

What is the workaround without an update?

The NTP project says to stop using CMAC keys on affected builds, or to make sure ntpd is restarted if it crashes. Belden adds trusted NTP servers only and blocking spoofed NTP packets.

Is CVE-2020-15025 in the CISA KEV catalog?

No, not as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS rates it 0.03138 (88.2nd percentile) in the 2026-11-22 dataset.