Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. pcre.symbols
  4. ›
  5. CVE-2016-3191

CVE-2016-3191: Improper Restriction of Operations within the Bounds of a Memory Buffer

March 17, 2016 (updated January 5, 2018)

The compile_branch function in pcre_compile.c in PCRE and pcre2_compile.c in PCRE2 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.

References

  • nvd.nist.gov/vuln/detail/CVE-2016-3191

Code Behaviors & Features

Detect and mitigate CVE-2016-3191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 up to 8.38

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

nuget/pcre.symbols/CVE-2016-3191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.