Security Advisory

CVE-2020-5735: Amcrest Camera and NVR Port 37777 Overflow

Last updated:
  • CVE-2020-5735

CVE-2020-5735 is a stack-based buffer overflow in the proprietary port 37777 service of Amcrest IP cameras and network video recorders: a long value sent to its DDNS test function overruns a stack buffer, which crashes the device and may allow code execution. It needs valid credentials. NVD scores it 8.8 and CISA KEV lists it. Amcrest shipped fixed firmware in early 2020.

Vulnerability summary

CVSS base score

8.8

High severity

EPSS score (FIRST)

36.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

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

Affected components

ComponentCPEVersion range
Amcrest IP2M-853EW, IP2M-858W, IP2M-866W, IP2M-866EW, IP4M-1053EWcpe:2.3:o:amcrest:ip2m-853ew_firmware:*:*:*:*:*:*:*:*Firmware before V2.623.00AC004.0.R.200316 (Tenable, NVD); fixed in that build
Amcrest IP2M-841, IPM-721, IPM-HX1cpe:2.3:o:amcrest:ip2m-841_firmware:*:*:*:*:*:*:*:*Firmware before V2.420.AC00.18.R.20200217 (Tenable, NVD); fixed in that build
Amcrest IP2M-841-V3cpe:2.3:o:amcrest:ip2m-841-v3_firmware:*:*:*:*:*:*:*:*Firmware before V2.800.0000000.6.R.200314 (Tenable, NVD); fixed in that build
Amcrest IP8M-2597Ecpe:2.3:o:amcrest:ip8m-2597e_firmware:*:*:*:*:*:*:*:*Firmware before V2.800.00AC000.0.R.200330 (Tenable, NVD); fixed in that build
Amcrest IP8M-2493EB, IP8M-2496EB, IP8M-2454EW, IP8M-T2499EW, IP8M-MT2544EW, IP8M-MB2546EWcpe:2.3:o:amcrest:ip8m-2493eb_firmware:*:*:*:*:*:*:*:*Firmware before V2.622.00AC000.0.R.200320 (Tenable, NVD); fixed in that build
Amcrest AMDV10814-H5 (DVR)cpe:2.3:o:amcrest:amdv10814-h5_firmware:-:*:*:*:*:*:*:*Fixed in V4.000.00AC000.0.R.200218 (Tenable); NVD CPE carries no version
Amcrest 1080-Lite 8CH (NVR)cpe:2.3:o:amcrest:1080-lite_8ch_firmware:-:*:*:*:*:*:*:*Affected (Tenable, NVD); no fixed build named in Tenable's advisory; NVD CPE carries no version

What does this mean for affected devices?

Tenable, the CNA, published the CVE on 2020-04-08 from its advisory TRA-2020-20 (released 2020-04-07). Tenable found that a remote authenticated attacker can send a crafted message to port 37777 that reaches the DDNS testing logic and writes beyond a stack buffer; at the least the camera reboots, and Tenable believes code execution is possible. NVD scores it CVSS v3.1 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), CVSS v2 8.0, with CWE-787; Tenable assigns CWE-121 and CVSS v2 9.0 (NVD, CVE record, Tenable TRA-2020-20). CISA's KEV text calls the attacker unauthenticated; NVD and Tenable both say valid credentials are needed. Tenable also reports that port 37777 has no limit on login attempts, which makes a weak password the real gate.

Which Amcrest firmware fixes it?

Amcrest gave Tenable these fixed builds: V2.623.00AC004.0.R.200316 for IP2M-853EW, IP2M-858W, IP4M-1053EW, IP2M-866W and IP2M-866EW; V4.000.00AC000.0.R.200218 for the AMDV10814-H5; V2.420.AC00.18.R.20200217 for IP2M-841, IPM-721 and IPM-HX1; V2.800.00AC000.0.R.200330 for IP8M-2597E; V2.800.0000000.6.R.200314 for IP2M-841-V3; and V2.622.00AC000.0.R.200320 for IP8M-2493EB, IP8M-2496EB, IP8M-2454EW, IP8M-T2499EW, IP8M-MT2544EW and IP8M-MB2546EW. Tenable first verified the flaw on the IP2M-841 and the 1080-Lite 8CH recorder; its fix list names no build for the 1080-Lite 8CH. NVD's CPEs follow the same per-model ranges. Tenable advises not exposing port 37777 to the internet (CISA BOD 23-02 explained).

Is CVE-2020-5735 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03 with the required action "Apply updates per vendor instructions." (due 2022-05-03; known ransomware campaign use: Unknown); it is still listed as of 2026-11-26 in catalog version 2026.11.25 (CISA KEV). FIRST EPSS gives 0.36217, the 98.85th percentile, in the 2026-11-25 dataset (FIRST EPSS). Related camera and recorder flaws: the Dahua authentication bypass CVE-2021-33044 and the XiongMai web server overflow CVE-2018-10088. The class fix is in how to fix memory corruption in embedded firmware.

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: Analyzed; Amcrest cameras and NVR stack-based buffer overflow over port 37777, authenticated remote attacker can crash the device and possibly execute code; NVD Primary CVSS v3.1 8.8 PR:L, CVSS v2 8.0; CWE-787 (NVD), CWE-121 (Tenable); CPEs per model with versionEndExcluding v2.420.ac00.18.r.20200217, v2.800.0000000.6.r.200314, v2.623.00ac004.0.r.200316, v2.622.00ac000.0.r.200320, v2.800.00ac000.0.r.200330; 1080-lite_8ch and amdv10814-h5 unversioned; published 2020-04-08; read 2026-11-26. — NVD
  • CVE record: PUBLISHED, CNA Tenable, published 2020-04-08; affected before 2.623.00AC004.0.R.200316, 2.420.AC00.18.R.20200217, 2.800.00AC000.0.R.200330, 2.800.0000000.6.R.200314, 2.622.00AC000.0.R.200320 and 4.000.00AC000.0.R.200218; CWE-121. — CVE.org
  • Tenable TRA-2020-20 (initial release 2020-04-07): port 37777 interface on Amcrest IP cameras and NVRs; verified on IP2M-841 and 1080-Lite 8CH; remote authenticated stack overflow via DDNS testing logic, crash/reboot, possible code execution; no login attempt limit on port 37777; suggests not exposing the port; Amcrest-supplied fixed builds per model; CVSSv2 9.0; 18 affected products listed; credit Jacob Baines. — Tenable
  • KEV catalog 2026.11.25: dateAdded 2021-11-03, due 2022-05-03, required action Apply updates per vendor instructions, knownRansomwareCampaignUse Unknown, CWE-121, short description says unauthenticated; checked 2026-11-26. — CISA KEV
  • EPSS 0.36217, percentile 0.98849, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2020-5735 (CNA: Tenable)
  3. Tenable TRA-2020-20: Amcrest port 37777 vulnerabilities
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Amcrest devices are affected by CVE-2020-5735?

Tenable lists 18 products, including the IP2M-841, IP2M-853EW, IP4M-1053EW, IP8M-2493EB and IP8M-2597E cameras, the AMDV10814-H5 DVR and the 1080-Lite 8CH NVR; NVD's CPEs cover the same models (per Tenable TRA-2020-20 and NVD).

Which firmware fixes CVE-2020-5735?

Amcrest's fixed builds are dated February and March 2020, for example V2.420.AC00.18.R.20200217 for the IP2M-841 and V2.623.00AC004.0.R.200316 for the IP4M-1053EW. Tenable's fix list names no build for the 1080-Lite 8CH (per Tenable TRA-2020-20).

Does CVE-2020-5735 need a login?

NVD and Tenable say yes: the attacker must be authenticated (CVSS PR:L). CISA's KEV summary calls it unauthenticated. Tenable notes port 37777 does not limit login attempts, so weak passwords matter (per NVD, Tenable and CISA KEV).

How likely is exploitation of CVE-2020-5735?

CISA added it to KEV on 2021-11-03, so exploitation is confirmed. FIRST EPSS gives 0.36217, the 98.85th percentile, in the 2026-11-25 dataset (per CISA KEV and FIRST EPSS).