Buffer overflow in Pcre

CVE-2017-16231

In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call. NOTE: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is used

Vulnerability class: Buffer Overflow

EPSS: 0.005 (42.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Pcre — versions 8.41
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory, Issue Tracking)

Frequently asked questions

What is CVE-2017-16231?
CVE-2017-16231 is a medium-severity vulnerability in Pcre, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.5/10. Published 2019-03-21.
How severe is CVE-2017-16231?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2017-16231 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.