Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 570694 (CVE-2016-1283)

Summary: <dev-libs/libpcre-8.38-r1: Heap Overflow Vulnerability (CVE-2016-1283)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: major CC: base-system, hydrapolic, oz.tiram
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Whiteboard: A2 [glsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 575546    
Bug Blocks:    

Description Agostino Sarubbo gentoo-dev 2016-01-03 09:48:58 UTC
From ${URL} :

PCRE library is prone to a vulnerability which leads to Heap Overflow.
During the compilation of a malformed regular expression, more data is
written on the malloced block than the expected size output by
compile_regex. Carefully crafted my lead to code execution in the context
of affected applications.


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Agostino Sarubbo gentoo-dev 2016-02-04 17:05:01 UTC
*** Bug 573842 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2016-04-02 20:51:53 UTC
added upstream patches; should be fined to stable:
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2016-06-20 10:24:59 UTC
CVE-2016-1283 (
  The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the
  pattern and related patterns with named subgroups, which allows remote
  attackers to cause a denial of service (heap-based buffer overflow) or
  possibly have unspecified other impact via a crafted regular expression, as
  demonstrated by a JavaScript RegExp object encountered by Konqueror.
Comment 4 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2016-06-20 10:33:38 UTC
Added to existing GLSA.
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2016-07-09 02:12:06 UTC
This issue was resolved and addressed in
 GLSA 201607-02 at
by GLSA coordinator Aaron Bauman (b-man).