Security Advisory

CVE-2022-41648: HEIDENHAIN TNC 640 DNC Missing Auth

Last updated:
  • CVE-2022-41648

CVE-2022-41648 is a missing-authentication flaw in the DNC (distributed numerical control) communication of HEIDENHAIN's TNC 640 CNC control, NC software 340590 07 SP5. Authentication is off by default, so anyone who reaches the service can disrupt, read or change production. NVD scores it 9.8, CISA 8.1. HEIDENHAIN gives firewall mitigations, not a fixed version.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

1.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-41648 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
HEIDENHAIN Controller TNC 640 NC software (CNC control)cpe:2.3:a:heidenhain:tnc_640_programming_station:340590_07:sp5:*:*:*:*:*:*NC software 340590 07 SP5 (NVD also lists HEROS 5.08.3 on TNC 640 hardware); no fixed version named; mitigation: block LSV2/DNC in the control's firewall, segment the machine network, get a recent software version with SSH tunneling from the machine builder

What does this mean for affected devices?

The CVE record from CISA says that DNC communication on the TNC 640 control "is not enabled by default" for authentication, and that this "may allow an attacker to deny service on the production line, steal sensitive data from the production line, and alter any products created by the production line." The issue only exists on machines where DNC is switched on. NVD's Primary score is 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-287, improper authentication. CISA, the CNA, scores it lower because it rates the attack complexity high: CVSS v3.1 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) in the advisory and CVSS v4 9.2 in the CVE record, with CWE-1188, initialization of a resource with an insecure default. NVD's configuration names NC software 340590 07 SP5 and HEROS 5.08.3 on TNC 640 hardware (NVD, CVE record).

What is affected?

CISA's ICSA-22-298-02 was released on 2022-10-25 and revised as Update A on 2025-09-30, which updated the product details, description and title. It covers the HEIDENHAIN Controller TNC 640 NC software 340590 07 SP5, the control of CNC machines that run the TNC 640. CISA lists the Critical Manufacturing, Communications, Energy and Healthcare and Public Health sectors, worldwide deployment and a German headquarters. Marco Balduzzi of Trend Micro reported the flaw; Gorka Herranz reported more details.

How do you fix CVE-2022-41648?

CISA's advisory names no fixed version. HEIDENHAIN's mitigations are:

  • block LSV2 and DNC communication with the firewall integrated in the control's operating system, where the machine does not need them;
  • isolate and segment the network of affected machines with zone firewalls;
  • ask the machine builder for an update to a recent software version, where SSH tunneling is standard.

CISA adds its usual advice: keep control systems off the internet, behind firewalls and away from business networks, and use an up-to-date VPN for remote access. Other CNC control advisories on this site are CVE-2018-11462 in Siemens SINUMERIK and CVE-2024-39880 in Delta CNCSoft-G2. The authentication bypass fix guide covers why a network service should require authentication by default, and the OT security guide for small manufacturers covers segmenting machine networks.

Is CVE-2022-41648 exploited?

CISA reported no known public exploitation and notes the high attack complexity. CVE-2022-41648 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.01019, percentile 62.49, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-27): status Modified; published 2022-10-28; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; ICS-CERT Secondary CVSS v4 9.2; CWE-287 (NVD), CWE-1188 (ICS-CERT); CPE heidenhain tnc_640_programming_station 340590_07 sp5 and heros 5.08.3 on tnc_640. — NVD
  • CISA ICSA-22-298-02 CSAF (released 2022-10-25, Update A 2025-09-30, read 2026-11-27): HEIDENHAIN Controller TNC 640 NC Software 340590_07_SP5; CWE-1188; CVSS v3.1 8.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H; mitigations: block LSV2 and DNC in the integrated firewall, zone firewalls, ask machinery vendor for recent software version with SSH tunneling; sectors Critical Manufacturing, Communications, Energy, Healthcare and Public Health; Germany; reported by Marco Balduzzi (Trend Micro), additional details Gorka Herranz; no known public exploitation, high attack complexity. — CISA ICSA-22-298-02
  • CVE record (checked 2026-11-27): PUBLISHED, CNA ICS-CERT, published 2022-10-28, CNA CVSS v4 9.2; affected HEIDENHAIN Controller TNC 640 NC Software 340590 07 SP5; same workarounds. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.25, 1,805 entries, checked 2026-11-27. — CISA KEV
  • EPSS 0.01019, percentile 0.62492, dataset 2026-11-26, read 2026-11-27. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-22-298-02: HEIDENHAIN Controller TNC (CSAF)
  3. CISA ICSA-22-298-02 advisory page
  4. CVE.org record CVE-2022-41648
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which version fixes CVE-2022-41648?

CISA's ICSA-22-298-02 names no fixed version. HEIDENHAIN advises asking the machine builder for a recent TNC software version where SSH tunneling is standard, and blocking LSV2 and DNC in the control's firewall meanwhile.

Is every TNC 640 machine exposed?

Only machines where DNC is enabled have DNC communication to attack. CISA lists NC software 340590 07 SP5 as affected; NVD also names HEROS 5.08.3 on TNC 640 hardware.

Why does NVD say 9.8 and CISA 8.1?

NVD rates the attack complexity low (9.8). CISA, the CNA, rates it high, giving CVSS v3.1 8.1 in the advisory and CVSS v4 9.2 in the CVE record.

Is CVE-2022-41648 in the CISA KEV catalog?

No, not as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS rates it 0.01019 (percentile 62.49) in the 2026-11-26 dataset.