Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!Close

CVE-2017-9118

Published: 2 August 2018

PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.

Notes

AuthorNote
leosilva
unfixed upstream as of 2020-06-23
rodrigo-zaiden
php7.0 retriage on 2022-02-01 found that upstream fixed it on
2021-11-29, information is now updated to reflect this.
xenial (php7.0) returns an oom instead of crashing while
running the poc from the php bug tracker, but the vulnerable code is present
and the patch is applicable.

Priority

Medium

Cvss 3 Severity Score

7.5

Score breakdown

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
impish Does not exist

groovy Does not exist

jammy Does not exist

lunar Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

hirsute Does not exist

kinetic Does not exist

trusty Needed

upstream Needs triage

xenial Does not exist

mantic Does not exist

php7.4
Launchpad, Ubuntu, Debian
bionic Does not exist

impish Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

focal
Released (7.4.3-4ubuntu2.10)
jammy Does not exist

lunar Does not exist

kinetic Does not exist

mantic Does not exist

php8.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish
Released (8.0.8-1ubuntu0.3)
trusty Does not exist

upstream Needs triage

xenial Does not exist

jammy Does not exist

lunar Does not exist

kinetic Does not exist

mantic Does not exist

php8.1
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

trusty Does not exist

jammy
Released (8.1.2-1ubuntu1)
lunar
Released (8.1.2-1ubuntu1)
kinetic
Released (8.1.2-1ubuntu1)
upstream Needs triage

xenial Does not exist

mantic Does not exist

php7.0
Launchpad, Ubuntu, Debian
groovy Does not exist

xenial
Released (7.0.33-0ubuntu0.16.04.16+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
jammy Does not exist

lunar Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

kinetic Does not exist

trusty Does not exist

upstream Needed

mantic Does not exist

Patches:
upstream: https://github.com/php/php-src/commit/712fc54e856d3d8e80a7d074a2733bc6b3a27e90
php7.2
Launchpad, Ubuntu, Debian
groovy Does not exist

jammy Does not exist

lunar Does not exist

bionic
Released (7.2.24-0ubuntu0.18.04.11)
cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

kinetic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

mantic Does not exist

Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H