Security Advisory

CVE-2018-10088: XiongMai uc-httpd Buffer Overflow

Last updated:
  • CVE-2018-10088

CVE-2018-10088 is a buffer overflow in uc-httpd 1.0.0, the web server inside XiongMai camera, DVR and NVR firmware. A public proof of concept crashes the Sofia process, which runs the web server as root, by posting an overlong user name to the login page without authentication. NVD scores it 9.8. No vendor fix is listed, so isolate or replace affected devices.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

39.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2018-10088 · Source: NVD

Affected components

ComponentCPEVersion range
XiongMai uc-httpd (embedded web server)cpe:2.3:a:xiongmaitech:uc-httpd:1.0.0:*:*:*:*:*:*:*1.0.0 (NVD CPE configuration); no fixed version published
XiongMai-based IP cameras, DVRs and NVRs, including white-label brands—Firmware running uc-httpd 1.0.0; SEC Consult reported the flaw unfixed in the most recent firmware as of 2018-10-09; no vendor fix listed as of 2026-11-19

What does this mean for affected devices?

NVD's description is short: "Buffer overflow in XiongMai uc-httpd 1.0.0 has unspecified impact and attack vectors, a different vulnerability than CVE-2017-16725." NVD's Primary score is CVSS v3.0 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-119 and a legacy CVSS v2 score of 10.0. Its CPE configuration names a single product, cpe:2.3:a:xiongmaitech:uc-httpd:1.0.0. MITRE assigned the ID and published the record on 2018-06-08 without a CNA score (NVD, CVE record).

How does the overflow work?

The reporter's proof-of-concept repository, which NVD links, gives the fuller description: the overflow "allows unauthenticated attackers to execute Denial of Service remotely, or possibly have unspecified other impact, via a Web camera viewer interface". The proof of concept crashes "the process (Sofia) that runs multiple services on the DVR, including the uc-httpd web server", and the reporter notes a potential for remote code execution as root because Sofia runs as root on the DVR tested. The Exploit-DB entry 44864 of 2018-06-08 shows the trigger: a POST to /login.htm with an 85-character user name, sent to the web port (TCP 81 on the tested DVR). Because Sofia hosts several services, one request takes them down together, not only the web page.

Which devices are affected, and is there a fix?

uc-httpd is the web server in XiongMai firmware, and XiongMai sells mostly as an OEM. SEC Consult's XMEye research of 2018-10-09 found "more than one hundred vendors who sell branded Xiongmai devices" and notes that the err.htm error page is one of the few places the firmware names XiongMai. The same report says 2017 vulnerabilities "are still not fixed in the most recent firmware version", naming CVE-2017-16725 and CVE-2018-10088 with a complete exploit chain available. For the sibling overflow CVE-2017-16725, CISA's ICSA-17-341-01 records that XiongMai did not respond to coordination requests. We found no XiongMai advisory or firmware release that lists a fix for CVE-2018-10088 as of 2026-11-19.

What can an owner do without a fix?

SEC Consult's recommendation was to stop using XiongMai and XiongMai OEM devices, and it warns that changing passwords and firewalling do not cover the full range of issues, partly because the always-on XMEye P2P cloud feature reaches devices behind NAT. Where replacement has to wait, keep the web port off the internet and off user networks, block the P2P cloud traffic at the firewall, and put the recorders on a dedicated VLAN. Our IP camera and NVR firmware guide walks through identifying white-label XiongMai boards and the decision to replace them, next to the Hikvision web server flaw CVE-2021-36260. The memory corruption fix guide covers the length checks this login handler lacks.

CVE-2018-10088 is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.39715, the 98.6th percentile, in the 2026-11-18 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: buffer overflow in XiongMai uc-httpd 1.0.0, unspecified impact and attack vectors, different from CVE-2017-16725; NVD Primary CVSS v3.0 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, v2 10.0; CWE-119; CPE xiongmaitech:uc-httpd:1.0.0; references GitHub bitfu PoC and Exploit-DB 44864; published 2018-06-08; read 2026-11-19. — NVD
  • CVE record: state PUBLISHED, assigner MITRE, published 2018-06-08; vendor and product n/a; no CNA CVSS; checked 2026-11-19. — CVE.org
  • Reporter README: overflow lets unauthenticated attackers cause remote DoS or possibly other impact via a web camera viewer interface; PoC crashes the Sofia process running multiple services including uc-httpd; potential RCE as root since Sofia runs as root on the DVR tested; read 2026-11-19. — GitHub (reporter)
  • Exploit-DB 44864 (2018-06-08, Andrew Watson): XiongMai uc-httpd 1.0.0 buffer overflow; POST /login.htm with username of 85 'A' characters to TCP 81; read 2026-11-19. — Exploit-DB
  • SEC Consult (09.10.2018): more than one hundred vendors sell branded Xiongmai devices; err.htm names Xiongmai; 2017 vulnerabilities still not fixed in most recent firmware including CVE-2017-16725 and CVE-2018-10088 with a complete exploit chain; recommendation to stop using Xiongmai and OEM devices; usual recommendations do not mitigate the whole range; P2P cloud reaches devices that are not exposed; read 2026-11-19. — SEC Consult
  • Not in the CISA KEV catalog version 2026.11.18 (1,786 entries), checked 2026-11-19. — CISA KEV
  • EPSS 0.39715, percentile 0.98648, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2018-10088
  3. Reporter's proof of concept: uc-httpd 1.0.0 buffer overflow (GitHub)
  4. Exploit-DB 44864: XiongMai uc-httpd 1.0.0 - Buffer Overflow
  5. SEC Consult: Millions of Xiongmai video surveillance devices can be hacked via cloud feature (XMEye P2P Cloud)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Is there a firmware update that fixes CVE-2018-10088?

None is known. NVD lists only uc-httpd 1.0.0 and links no vendor advisory, and SEC Consult reported in October 2018 that the flaw was still not fixed in the most recent XiongMai firmware. We found no fixed build as of 2026-11-19 (per NVD and SEC Consult).

How do I know whether a camera or recorder runs uc-httpd?

XiongMai sells through more than one hundred brands that rarely name it. SEC Consult points to the err.htm error page, one of the few places the firmware mentions XiongMai, and the XMEye app or cloud feature in the product description (per SEC Consult). NVD's CPE names uc-httpd 1.0.0 as the affected server.

What happens when CVE-2018-10088 is triggered?

The public proof of concept crashes the Sofia process, which runs the web server and other device services, so the recorder stops serving until it restarts. The reporter notes possible code execution as root because Sofia runs as root, and NVD scores the impact as high for confidentiality, integrity and availability (per the reporter's repository and NVD).

Is CVE-2018-10088 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18). FIRST EPSS gives it 0.39715, the 98.6th percentile, in the 2026-11-18 dataset, and public exploit code is on GitHub and Exploit-DB (per CISA KEV, FIRST EPSS and NVD).