CVE-2019-9023 Memory corruption in n/a

Critical 9.8 Published Updated

Heap-based buffer over-reads in PHP mbstring regex functions allow attackers to cause denial of service or disclose sensitive memory contents via invalid multibyte data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9023?

CVE-2019-9023 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 22 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expression functions when supplied with invalid multibyte data. These occur in ext/mbstring/oniguruma/regcomp.c, ext/mbstring/oniguruma/regexec.c, ext/mbstring/oniguruma/regparse.c, ext/mbstring/oniguruma/enc/unicode.c, and ext/mbstring/oniguruma/src/utf32_be.c when a multibyte regular expression pattern contains invalid multibyte sequences.

Weakness: CWE-125

Which versions are affected by CVE-2019-9023?

It affects 5 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Netapp Storage Automation Store, Opensuse Leap, Php Php.

How do I fix CVE-2019-9023?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-9023 being exploited?

There is no known exploitation of CVE-2019-9023 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-f6fp-28gh-x93q, UBUNTU-CVE-2019-9023.

Is CVE-2019-9023 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free