The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-31481

CVE-2022-31481: HID Mercury Controller Buffer Overflow

CVE-2022-31481 is a buffer overflow vulnerability in HID Mercury Intelligent Controllers that allows unauthenticated attackers to execute arbitrary code. This article covers technical details, affected firmware versions, and mitigations.

Published: February 17, 2026

CVE-2022-31481 Overview

CVE-2022-31481 is a critical buffer overflow vulnerability affecting HID Mercury Intelligent Controllers and related Carrier LenelS2 access control products. An unauthenticated attacker can send a specially crafted update file to the device that overflows a buffer, allowing manipulation of normal code execution to execute arbitrary commands. This vulnerability enables complete device compromise without requiring any authentication, making it particularly dangerous for physical security infrastructure.

Critical Impact

Unauthenticated remote code execution allows attackers to monitor all device communications, modify onboard relays, change configuration files, and compromise physical access control systems.

Affected Products

  • HID Global LP1501, LP1502, LP2500, LP4502 (firmware versions prior to 1.302)
  • HID Global EP4502 (firmware versions prior to 1.296)
  • Carrier LenelS2 LNL-4420, LNL-X2210, LNL-X2220, LNL-X3300, LNL-X4420
  • Carrier LenelS2 S2-LP-1501, S2-LP-1502, S2-LP-2500, S2-LP-4502

Discovery Timeline

  • June 6, 2022 - CVE-2022-31481 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-31481

Vulnerability Analysis

This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), commonly known as a classic buffer overflow. The firmware update mechanism in affected HID Mercury Intelligent Controllers fails to properly validate the size of incoming update file data before copying it into a fixed-size buffer. This allows an attacker to overflow the buffer with specially crafted data, enabling control over program execution flow.

The vulnerability is particularly severe because it requires no authentication and can be exploited remotely over the network. Once exploited, an attacker gains the ability to execute arbitrary code with full system privileges on the access control device. Given that these controllers manage physical access to facilities, successful exploitation could allow attackers to unlock doors, disable alarms, monitor entry/exit patterns, or cause denial of service to physical security systems.

Root Cause

The root cause is insufficient bounds checking in the firmware update processing routine. When the device receives an update file, it copies the file contents into a buffer without verifying that the data size does not exceed the allocated buffer space. This is a classic example of unsafe memory handling that allows stack or heap corruption, depending on the buffer's memory allocation.

Attack Vector

The attack can be conducted remotely over the network by any unauthenticated user who can reach the device. The attacker crafts a malicious update file containing overflow data designed to overwrite critical memory structures such as return addresses or function pointers. When the overflow occurs, the attacker-controlled data redirects execution to shellcode or existing code gadgets, achieving arbitrary code execution.

The exploitation sequence involves:

  1. Network reconnaissance to identify vulnerable HID Mercury controllers
  2. Crafting a malicious firmware update file with overflow payload
  3. Sending the crafted file to the device's update endpoint
  4. Buffer overflow corrupts execution flow, executing attacker's code
  5. Attacker gains persistent control over the access control device

Detection Methods for CVE-2022-31481

Indicators of Compromise

  • Unexpected firmware update attempts to HID Mercury controllers from unauthorized IP addresses
  • Anomalous network traffic patterns to/from access control devices, especially large file transfers
  • Unexpected changes to device configuration files or relay states
  • Access control system instability, unexpected reboots, or loss of communication
  • Unauthorized door unlock events or alarm suppression without corresponding credential usage

Detection Strategies

  • Implement network intrusion detection rules to monitor for suspicious firmware update traffic to access control systems
  • Deploy network segmentation and monitor traffic crossing security zones to/from physical access control networks
  • Utilize SentinelOne Singularity to detect anomalous process behavior on network endpoints that communicate with access control infrastructure
  • Review access control system logs for unauthorized configuration changes or unexpected relay modifications

Monitoring Recommendations

  • Establish baseline network behavior for all HID Mercury and LenelS2 access control devices
  • Configure alerting for any firmware update attempts outside of scheduled maintenance windows
  • Monitor access control device communications for signs of reconnaissance or exploitation attempts
  • Implement continuous vulnerability scanning to identify unpatched devices in the environment

How to Mitigate CVE-2022-31481

Immediate Actions Required

  • Update HID Mercury LP series controllers (LP1501, LP1502, LP2500, LP4502) to firmware version 1.302 or later
  • Update HID Mercury EP4502 controllers to firmware version 1.296 or later
  • Isolate access control networks from general corporate networks using VLANs and firewalls
  • Restrict network access to vulnerable devices to only authorized management systems
  • Implement network access control lists (ACLs) to block unauthorized access to device update endpoints

Patch Information

Vendor patches are available that address this vulnerability. For HID Global LP series controllers, firmware version 1.302 contains the fix. For EP series controllers, firmware version 1.296 addresses the vulnerability. Organizations should consult the Carrier Security Advisory for detailed patching guidance and download links for affected LenelS2 products.

Workarounds

  • Place all affected access control devices behind network firewalls with strict ingress filtering
  • Disable remote firmware update capabilities if not operationally required and use local update methods
  • Implement network monitoring to detect and alert on any firmware update traffic to affected devices
  • Deploy intrusion prevention systems (IPS) with signatures to detect buffer overflow exploitation attempts
bash
# Example network ACL to restrict access to HID Mercury controllers
# Apply to router/firewall protecting access control network segment
# Allow only authorized management workstation (192.168.100.10) to access controllers
iptables -A FORWARD -s 192.168.100.10 -d 192.168.200.0/24 -p tcp --dport 443 -j ACCEPT
iptables -A FORWARD -s 192.168.100.10 -d 192.168.200.0/24 -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -d 192.168.200.0/24 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechHidglobal

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability1.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Vendor Resources
  • Carrier Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English