Bug 1449629 (CVE-2017-8399) - CVE-2017-8399 pcre2: Stack-based buffer overflow in pcre2_match.c
Summary: CVE-2017-8399 pcre2: Stack-based buffer overflow in pcre2_match.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-8399
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1449630 1449631
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-10 11:43 UTC by Adam Mariš
Modified: 2019-09-29 14:12 UTC (History)
34 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:12:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-05-10 11:43:39 UTC
PCRE2 before 2017-03-10 has an out-of-bounds write caused by a stack-based buffer overflow in pcre2_match.c, related to a "pattern with very many captures."

Bug report:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783

Upstream patch:

https://vcs.pcre.org/pcre2?view=revision&revision=674

Comment 1 Adam Mariš 2017-05-10 11:44:15 UTC
Created pcre2 tracking bugs for this issue:

Affects: epel-all [bug 1449630]
Affects: fedora-all [bug 1449631]

Comment 2 Petr Pisar 2017-05-10 12:43:25 UTC
Are you sure this the right commit? The r674 commit is from 2017-03-22. I also enabled the fuzzer support but running ./pcre2test with the linked reproducer does not show any crashes or abortions.

Comment 3 Petr Pisar 2017-05-10 12:45:31 UTC
(In reply to Petr Pisar from comment #2)
> Are you sure this the right commit? The r674 commit is from 2017-03-22.

I see. It's about unreleased code. Ignore my question.


Note You need to log in before you can comment on or make changes to this bug.