CVE-2016-5093

Source
https://cve.org/CVERecord?id=CVE-2016-5093
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5093.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-5093
Downstream
Related
Published
2016-08-07T10:59:06.180Z
Modified
2026-03-10T14:11:46.374166Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
[none]
Details

The geticuvalueinternal function in ext/intl/locale/localemethods.c in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7 does not ensure the presence of a '\0' character, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted localegetprimary_language call.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.5.35"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-alpha1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-alpha2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-alpha3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-beta1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-beta2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-beta3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0-beta4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.11"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.12"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.13"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.14"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.15"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.16"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.17"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.18"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.19"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.20"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.21"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.6"
        }
    ]
}

Affected versions

Other
NEWS
NEWS-cvs2svn
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_NATIVE_TLS_MERGE
POST_PHP7_EREG_MYSQL_REMOVALS
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_NATIVE_TLS_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
PRE_PHPNG_MERGE
php-5.*
php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.5.35
php-5.6.0alpha1
php-5.6.1
php-5.6.10
php-5.6.10RC1
php-5.6.11
php-5.6.11RC1
php-5.6.12
php-5.6.12RC1
php-5.6.13
php-5.6.13RC1
php-5.6.14
php-5.6.14RC1
php-5.6.15
php-5.6.15RC1
php-5.6.16
php-5.6.16RC1
php-5.6.17
php-5.6.17RC1
php-5.6.18
php-5.6.18RC1
php-5.6.19
php-5.6.19RC1
php-5.6.1RC1
php-5.6.20
php-5.6.20RC1
php-5.6.21
php-5.6.21RC1
php-5.6.3
php-5.6.3RC1
php-5.6.4
php-5.6.4RC1
php-5.6.5
php-5.6.5RC1
php-5.6.6
php-5.6.6RC1
php-5.6.7
php-5.6.7RC1
php-5.6.8
php-5.6.8RC1
php-5.6.9
php-5.6.9RC1
php-7.*
php-7.0.0
php-7.0.0RC1
php-7.0.0RC2
php-7.0.0RC3
php-7.0.0RC4
php-7.0.0RC5
php-7.0.0RC6
php-7.0.0RC7
php-7.0.0RC8
php-7.0.0alpha1
php-7.0.0alpha2
php-7.0.0beta1
php-7.0.0beta2
php-7.0.0beta3
php-7.0.1
php-7.0.1RC1
php-7.0.2
php-7.0.2RC1
php-7.0.3
php-7.0.3RC1
php-7.0.4
php-7.0.4RC1
php-7.0.5
php-7.0.5RC1
php-7.0.6
php-7.0.6RC1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5093.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "267995480029817361019472882597289164152",
            "length": 1745.0
        },
        "source": "https://github.com/php/php-src/commit/97eff7eb57fc2320c267a949cffd622c38712484",
        "signature_type": "Function",
        "id": "CVE-2016-5093-02917de3",
        "target": {
            "file": "ext/intl/locale/locale_methods.c",
            "function": "get_icu_value_internal"
        }
    }
]
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.6.0-alpha4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.6.0-alpha5"
            }
        ]
    }
]