Security Advisory

CVE-2020-6996: Triangle MicroWorks DNP3 Outstation Overflow

Last updated:
  • CVE-2020-6996

CVE-2020-6996 is a stack-based buffer overflow in Triangle MicroWorks' DNP3 Outstation .NET components and ANSI C source code libraries, versions 3.16.00 through 3.25.01: a specially crafted DNP3 message overflows the stack with no authentication. NVD scores it 9.8, CISA 7.5. CISA names version 3.26 as the fix.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

1.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

Affected components

ComponentCPEVersion range
Triangle MicroWorks DNP3 Outstation ANSI C source code library and .NET Protocol componentscpe:2.3:a:trianglemicroworks:dnp3_source_code_library:*:*:*:*:*:*:*:*3.16.00 through 3.25.01 (NVD, CISA ICSA-20-105-02); update to 3.26
Outstation devices and gateways built on those library versions—Not named by CISA or the vendor; ask the device maker which library version its firmware carries

What does this mean for affected devices?

NVD's description: "Triangle MicroWorks DNP3 Outstation Libraries DNP3 Outstation .NET Protocol components and DNP3 Outstation ANSI C source code libraries are affected: 3.16.00 through 3.25.01. A specially crafted message may cause a stack-based buffer overflow. Authentication is not required to exploit this vulnerability." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-787. CISA, which assigned the CVE, scores it CVSS v3.0 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and records CWE-121. The CPE configuration covers the DNP3 source code library from 3.16.00 to 3.25.01. The record was published on 2020-04-15 (NVD).

What does CISA's advisory say?

CISA's ICSA-20-105-02, released 2020-04-14, lists the DNP3 Outstation libraries 3.16.00 through 3.25.01 and states that exploitation "could possibly allow remote attackers to stop the execution of code on affected equipment." Triangle MicroWorks recommends updating to version 3.26 and asks users to contact its support for details. CISA credits Steven Seeley and Chris Anastasio of Incite, working with Trend Micro's Zero Day Initiative, and notes that no known public exploits target this vulnerability. The sectors are energy and water, deployed worldwide (CISA CSAF). The two scores differ only in impact: CISA rates availability alone, the outcome its advisory describes, while NVD also rates confidentiality and integrity impact high.

Which devices are affected?

The ANSI C library is source code that a vendor compiles into its own outstation product, such as an RTU, IED or protocol gateway. CISA's advisory names no downstream products, and we found no device maker's advisory that does. A device is affected when its firmware carries a library build from 3.16.00 to 3.25.01, so ask the maker which Triangle MicroWorks version it ships, and record the library as its own component in a firmware SBOM. An outstation accepts DNP3 on TCP port 20000 (IANA) from its master, so a stack overflow there is reachable by anything that can reach that port.

How do you fix or mitigate it?

Device makers rebuild with library 3.26 or later and ship new firmware; operators install it. Until then, filter port 20000 so that each outstation accepts connections only from its configured masters, and keep outstations off business networks. Our DNP3 protocol security guide covers outstation hardening, and the memory corruption fix guide covers stack buffer overflows as a class. Older master-side DNP3 driver flaws include CVE-2013-2783 and CVE-2013-2811.

CVE-2020-6996 is not in the CISA KEV catalog as of 2026-11-18 (catalog version 2026.11.17). FIRST EPSS gives it 0.01349, the 72nd percentile, in the 2026-11-17 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: DNP3 Outstation .NET Protocol components and ANSI C source code libraries 3.16.00 through 3.25.01, stack-based buffer overflow via specially crafted message, no authentication required; Primary CVSS v3.1 9.8; CWE-787 (NVD), CWE-121 (ICS-CERT); CPE dnp3_source_code_library 3.16.00-3.25.01; published 2020-04-15. — NVD
  • CISA ICSA-20-105-02 CSAF (2020-04-14): DNP3 Outstation Libraries 3.16.00 through 3.25.01; CVSS v3 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; CWE-121; update to Version 3.26, contact support; credit Steven Seeley and Chris Anastasio (Incite) and Trend Micro's Zero Day Initiative; no known public exploits; sectors Energy, Water and Wastewater; deployed worldwide. — CISA CSAF
  • IANA: dnp, port 20000, TCP and UDP. — IANA
  • CVE-2020-6996 is not in the CISA KEV catalog, version 2026.11.17 (1,782 entries), checked 2026-11-18. — CISA KEV
  • EPSS 0.01349, percentile 0.71980, dataset 2026-11-17. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-20-105-02: Triangle MicroWorks DNP3 Outstation Libraries
  3. CISA CSAF: icsa-20-105-02.json
  4. IANA service name and port number registry
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which Triangle MicroWorks versions are affected by CVE-2020-6996?

The DNP3 Outstation .NET Protocol components and ANSI C source code libraries from 3.16.00 through 3.25.01. Triangle MicroWorks recommends version 3.26 (per NVD and CISA ICSA-20-105-02).

Why do NVD and CISA give CVE-2020-6996 different scores?

CISA scores 7.5 with availability impact only, matching its statement that exploitation could stop code execution on the equipment. NVD scores 9.8 with confidentiality and integrity impact also rated high. Both use the same network vector with no privileges or user interaction (per CISA ICSA-20-105-02 and NVD).

How do I know whether my RTU or gateway uses the affected library?

CISA names no downstream products. Ask the device maker which Triangle MicroWorks DNP3 library version its firmware is built with; builds from 3.16.00 to 3.25.01 are affected (per CISA ICSA-20-105-02).

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

No, not as of 2026-11-18 (catalog version 2026.11.17). FIRST EPSS gives it 0.01349, the 72nd percentile, in the 2026-11-17 dataset (per CISA KEV and FIRST EPSS).