# CVE-2021-38687: Stack Overflow Vulnerability in Surveillance Station

- Severity: High 8.1 (CVSS:3.1, scored by qnap) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-12-29T13:05:14.828Z
- Modified: 2026-06-17T04:02:35.407Z
- Weaknesses: CWE-120
- Assigned by: qnap

## Description

A stack buffer overflow vulnerability has been reported to affect QNAP NAS running Surveillance Station. If exploited, this vulnerability allows attackers to execute arbitrary code. We have already fixed this vulnerability in the following versions of Surveillance Station: QTS 5.0.0 (64 bit): Surveillance Station 5.2.0.4.2 ( 2021/10/26 ) and later QTS 5.0.0 (32 bit): Surveillance Station 5.2.0.3.2 ( 2021/10/26 ) and later QTS 4.3.6 (64 bit): Surveillance Station 5.1.5.4.6 ( 2021/10/26 ) and later QTS 4.3.6 (32 bit): Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later QTS 4.3.3: Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later

(As written by CVE List.)

## Affected

- QNAP Systems Inc. Surveillance Station: from unspecified before 5.2.0.4.2 ( 2021/10/26 ); from unspecified before 5.2.0.3.2 ( 2021/10/26 ); from unspecified before 5.1.5.4.6 ( 2021/10/26 ); from unspecified before 5.1.5.3.6 ( 2021/10/26 )
- qnap surveillance_station: before 5.2.0.4.2; before 5.2.0.3.2; before 5.1.5.4.6; before 5.1.5.3.6

## Every score

- qnap: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.qnap.com/en/security-advisory/qsa-21-46> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-38687](https://www.cve.org/CVERecord?id=CVE-2021-38687), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-38687](https://nvd.nist.gov/vuln/detail/CVE-2021-38687), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-38687 · Whole record: https://cve.day/CVE-2021-38687.json · Rebuilt by cve.day 2026-11-25T22:58:06.292Z
