Insufficient boundary checks when processing a string in mberegreplace allows access to out-of-bounds memory. This issue affects HHVM versions prior to 3.30.12, all versions between 4.0.0 and 4.8.5, all versions between 4.9.0 and 4.23.1, as well as 4.24.0, 4.25.0, 4.26.0, 4.27.0, 4.28.0, and 4.28.1.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "3.30.12"
},
{
"introduced": "4.0.0"
},
{
"last_affected": "4.8.5"
},
{
"introduced": "4.9.0"
},
{
"last_affected": "4.23.1"
},
{
"introduced": "0"
},
{
"last_affected": "4.24.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.25.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.26.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.27.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.28.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.28.1"
}
]
}"2026-04-11T08:55:49Z"
[
{
"id": "CVE-2019-11935-ad688d4d",
"target": {
"file": "hphp/runtime/version.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"133668036051771783543419871597262375468",
"129641396530610067548535575096508259636",
"304861650904458673854477435002975464077",
"140335216194151808759673220052749435881"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/facebook/hhvm/commit/abe9500970b23bc9c385bf18a15bd38e830859a6",
"signature_version": "v1"
},
{
"id": "CVE-2019-11935-fc72bb9d",
"target": {
"file": "hphp/runtime/ext/mbstring/ext_mbstring.cpp",
"function": "_php_mb_regex_ereg_replace_exec"
},
"deprecated": false,
"digest": {
"function_hash": "67261565572537812702813700662715846835",
"length": 2769.0
},
"signature_type": "Function",
"source": "https://github.com/facebook/hhvm/commit/1c518555dba6ceb45d5ba61845b96e261219c3b7",
"signature_version": "v1"
},
{
"id": "CVE-2019-11935-ffb13af5",
"target": {
"file": "hphp/runtime/ext/mbstring/ext_mbstring.cpp"
},
"deprecated": false,
"digest": {
"line_hashes": [
"315728158854300467802016852028258470782",
"311692162243677398358948376420990517139",
"307710948694442023051359734482804642074",
"331377461075004981746843192991985630094",
"231257040834705008125684766828505557808",
"183126571683132819527685269272462918491",
"322041387970398611266313427073664593435",
"84913048491360638706325140868666790750",
"3394884979863319369977819634067540547",
"319458021223391047711524471512709978215",
"134684807424976824708472242385985118914",
"269112849239790915317727707658430498295"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/facebook/hhvm/commit/1c518555dba6ceb45d5ba61845b96e261219c3b7",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11935.json"