CVE-2016-7416

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-7416
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7416.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-7416
Downstream
Related
Published
2016-09-17T21:59:08Z
Modified
2025-10-14T15:52:17.806801Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

ext/intl/msgformat/msgformat_format.c in PHP before 5.6.26 and 7.x before 7.0.11 does not properly restrict the locale length provided to the Locale class in the ICU library, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a MessageFormatter::formatMessage call with a long first argument.

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
Fixed

Affected versions

Other

NEWS
NEWS-cvs2svn

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.6.18RC1
php-5.6.19RC1
php-5.6.22RC1
php-5.6.23RC1
php-5.6.24RC1

Database specific

{
    "vanir_signatures": [
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "ext/intl/msgformat/msgformat_format.c"
            },
            "id": "CVE-2016-7416-2cf99e85",
            "digest": {
                "line_hashes": [
                    "96548366782851008819462066995253530304",
                    "81215033887456045097085551404182667526",
                    "322963691190077253807159250948672257367"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "ext/intl/msgformat/msgformat_format.c",
                "function": "PHP_FUNCTION"
            },
            "id": "CVE-2016-7416-3b8c4f1b",
            "digest": {
                "length": 1438.0,
                "function_hash": "165865426150340620662842668822898722523"
            },
            "signature_version": "v1",
            "source": "https://github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b"
        }
    ]
}