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
    • 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-2020-14155

CVE-2020-14155: PCRE Buffer Overflow Vulnerability

CVE-2020-14155 is a buffer overflow vulnerability in the PCRE library caused by an integer overflow via a large number after a (?C substring. This article covers technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-14155 Overview

CVE-2020-14155 is an integer overflow vulnerability in libpcre, the Perl Compatible Regular Expressions library, affecting versions before 8.44. The vulnerability occurs when parsing regular expressions containing a (?C substring followed by a large number. This integer overflow can lead to denial of service conditions or potentially unexpected behavior in applications that process untrusted regular expression patterns.

Critical Impact

Applications using vulnerable PCRE versions to process user-supplied regular expressions may be susceptible to denial of service attacks through crafted patterns containing oversized numeric values.

Affected Products

  • PCRE (Perl Compatible Regular Expressions) before version 8.44
  • Apple macOS (multiple versions)
  • GitLab Community and Enterprise editions
  • Oracle Communications Cloud Native Core Policy 1.15.0
  • NetApp Active IQ Unified Manager, Cloud Backup, Clustered Data ONTAP
  • NetApp hardware firmware (H410C, H300S, H500S, H700S, H410S)
  • Splunk Universal Forwarder

Discovery Timeline

  • June 15, 2020 - CVE-2020-14155 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-14155

Vulnerability Analysis

This vulnerability resides in the PCRE library's regular expression compiler, specifically in the handling of callout substrings. When a regular expression contains the (?C construct (used to invoke external callout functions), the parser expects an optional numeric argument. If an attacker supplies an extremely large number after the (?C substring, the internal conversion and storage mechanism fails to properly validate the numeric range, leading to an integer overflow condition.

The integer overflow can corrupt internal state within the regex compilation process. While the primary impact is denial of service through application crashes or hangs, the widespread use of PCRE across operating systems, web applications, and enterprise software amplifies the risk surface considerably. Products from Apple, GitLab, Oracle, NetApp, and Splunk have all been identified as affected due to their incorporation of vulnerable PCRE library versions.

Root Cause

The root cause is classified as CWE-190 (Integer Overflow or Wraparound). The PCRE library fails to implement proper bounds checking when converting the numeric string following a (?C callout directive into an integer value. When the supplied number exceeds the maximum value representable by the target integer type, the value wraps around, producing an incorrect and potentially dangerous result that the compiler continues to use in subsequent operations.

Attack Vector

An attacker can exploit this vulnerability by supplying a maliciously crafted regular expression to any application that uses PCRE to compile user-supplied patterns. The attack is network-accessible in scenarios where web applications, APIs, or network services accept regex patterns as input. No authentication is required to trigger the vulnerability, making it exploitable by anonymous remote attackers in many deployment contexts.

The exploitation mechanism involves:

  1. Crafting a regular expression containing the (?C callout syntax
  2. Appending an extremely large numeric value that exceeds integer bounds
  3. Submitting this pattern to a vulnerable application for compilation
  4. The integer overflow occurs during pattern parsing, potentially causing a crash

The vulnerability mechanism involves processing malformed callout patterns in regular expressions. For detailed technical information, consult the PCRE Change Log which documents the fix implemented in version 8.44.

Detection Methods for CVE-2020-14155

Indicators of Compromise

  • Unexpected application crashes in services that process regular expressions
  • Core dumps or crash reports referencing PCRE library functions during regex compilation
  • Abnormal memory consumption patterns in regex-processing components
  • Error logs containing malformed or unusually long regular expression patterns

Detection Strategies

  • Implement software composition analysis (SCA) to identify applications using PCRE versions prior to 8.44
  • Monitor application logs for regex compilation failures or exceptions
  • Deploy input validation to detect abnormally large numeric values in submitted regex patterns
  • Use memory monitoring tools to detect integer overflow indicators in PCRE-linked processes

Monitoring Recommendations

  • Enable verbose logging for regex compilation operations in affected applications
  • Configure crash reporting systems to alert on PCRE-related segmentation faults
  • Implement rate limiting on endpoints that accept user-supplied regular expressions
  • Deploy SentinelOne Singularity Platform to detect anomalous process behavior associated with exploitation attempts

How to Mitigate CVE-2020-14155

Immediate Actions Required

  • Upgrade PCRE library to version 8.44 or later across all affected systems
  • Audit all applications and dependencies for vulnerable PCRE library usage
  • Apply vendor-specific patches from Apple, GitLab, Oracle, NetApp, and Splunk
  • Implement input validation to restrict numeric ranges in user-supplied regex patterns

Patch Information

The PCRE maintainers addressed this vulnerability in PCRE version 8.44. Organizations should update to this version or later to remediate the integer overflow. Multiple downstream vendors have released their own security updates:

  • Apple has addressed this in macOS updates documented in Apple Support Article HT211931 and HT212147
  • GitLab released fixes in Security Release 13.1.2
  • Oracle addressed this in the April 2022 CPU Advisory
  • NetApp has published guidance in Security Advisory NTAP-20221028-0010

Workarounds

  • Sanitize and validate all user-supplied regular expression input before compilation
  • Implement length restrictions on numeric components within regex patterns
  • Consider using alternative regex libraries with stricter input validation where feasible
  • Deploy web application firewalls (WAF) to filter malicious regex patterns at the perimeter
bash
# Check installed PCRE version
pcre-config --version

# If version is below 8.44, upgrade PCRE
# For Debian/Ubuntu systems:
sudo apt-get update && sudo apt-get install libpcre3

# For RHEL/CentOS systems:
sudo yum update pcre

# Verify the updated version
pcre-config --version

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechPcre

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-190
  • Technical References
  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • GitLab Security Release 13.1.2

  • Apache Mina Mailing List Thread

  • NetApp Security Advisory NTAP-20221028-0010

  • Apple Support Article HT211931

  • Apple Support Article HT212147
  • Vendor Resources
  • Gentoo Bug Report #717920

  • Oracle April 2022 CPU Advisory

  • PCRE Change Log
  • Related CVEs
  • CVE-2022-1586: PCRE2 Buffer Overflow Vulnerability

  • CVE-2022-1587: PCRE2 Library Buffer Overflow Vulnerability

  • CVE-2022-41409: Pcre2 Integer Overflow DOS Vulnerability
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