Critical
Security advisory
PCRE2 before 10.30 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."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-8399
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:50 UTC · Revision 1
Source evidence
PCRE2 before 10.30 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."
osv:CVE-2017-8399
Complete source record
{
"id": "ab89c19b6cf8afcfe64f504ae3c367cf26a0bd399e1c845539073f87d468fb28",
"url": "https://osv.dev/vulnerability/CVE-2017-8399",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-8399",
"summary": "PCRE2 before 10.30 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.\"",
"evidence": "osv:CVE-2017-8399",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-8399",
"aliases": [
"CVE-2017-8399"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pcre2project/pcre2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "921b0ae10fe26bdb979f70ec9512b9f95e3ddccb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "10.30"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-8399.json"
}
}
],
"modified": "2026-10-24T10:30:22.655970034Z",
"provider": "osv",
"references": [
"https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783",
"https://security.gentoo.org/glsa/201710-09",
"https://vcs.pcre.org/pcre2?view=revision&revision=674"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-8399",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430732,
"published_at": "2017-05-01T18:59:00.403+00:00"
}