Stack-based Buffer Overflow Affecting rh-php56-php package, versions *


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.52% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RHPHP56PHP-9839414
  • published28 Apr 2025
  • disclosed9 Feb 2016

Introduced: 9 Feb 2016

CVE-2016-3191  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rh-php56-php.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-php56-php package and not the rh-php56-php package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 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.

CVSS Base Scores

version 3.1