High
Security advisory
PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-9118
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:07 UTC · Revision 1
Source evidence
PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.
osv:CVE-2017-9118
Complete source record
{
"id": "3329403beaffceaf20e8eba4965a826e41cf785deea33b3834228e508fc1f50b",
"url": "https://osv.dev/vulnerability/CVE-2017-9118",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-9118",
"summary": "PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.",
"evidence": "osv:CVE-2017-9118",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-9118",
"aliases": [
"CVE-2017-9118"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/php/php-src",
"type": "GIT",
"events": [
{
"introduced": "3c7824e16ec4c3cee417262445d2c2b66531c10f"
},
{
"fixed": "96f753a2b56b7c4927f1a64253ca60bb481ee2c3"
},
{
"introduced": "5dc92c2117cafc61daaaaa240fd46c3ac33872a4"
},
{
"fixed": "9b4a6e9b1be6e6af4eff97dcb5b8b8c24c8c00ea"
},
{
"introduced": "381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"
},
{
"fixed": "e2a082c4a94bc62dfc1d2119d4ce3301632bdfdb"
},
{
"introduced": "5d08c710749096291e294afd641e4429760c6c6e"
},
{
"last_affected": "5d08c710749096291e294afd641e4429760c6c6e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.4.0"
},
{
"fixed": "7.4.27"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:7.1.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1.5"
},
{
"last_affected": "7.1.5"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"7.1.5",
"php-7.1.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9118.json"
}
}
],
"modified": "2026-10-24T10:30:24.828044836Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2019:2519",
"https://security.netapp.com/advisory/ntap-20181107-0003/",
"https://bugs.php.net/bug.php?id=74604"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-9118",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431233,
"published_at": "2018-08-02T15:29:00.23+00:00"
}