PCRE library: Denial of service — GLSA 201706-11

A vulnerability in PCRE library allows remote attackers to cause a Denial of Service condition.

Affected packages

dev-libs/libpcre on all architectures
Affected versions < 8.40-r1
Unaffected versions >= 8.40-r1

Background

PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.

Description

It was found that the compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE library is vulnerable to an out-of-bounds read.

Impact

A remote attacker could possibly cause a Denial of Service condition via a special crafted regular expression.

Workaround

There is no known workaround at this time.

Resolution

All PCRE library users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/libpcre-8.40-r1"
 

References

Release date
June 06, 2017

Latest revision
June 06, 2017: 1

Severity
normal

Exploitable
remote

Bugzilla entries