CVE-2016-7128

Source
https://cve.org/CVERecord?id=CVE-2016-7128
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7128.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-7128
Downstream
Related
Published
2016-09-12T01:59:06.770Z
Modified
2026-02-02T04:01:32.503161Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

The exifprocessIFDinTIFF function in ext/exif/exif.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles the case of a thumbnail offset that exceeds the file size, which allows remote attackers to obtain sensitive information from process memory via a crafted TIFF image.

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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7128.json"
vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "113995618109138763489426236600846229519",
                "207010564147224868569939080510464845863",
                "12225492273767835515959966646041988909",
                "199120476063143625235472752618703837168",
                "211446056386641717420862799601742907394",
                "55640858025059606115613149648190827300"
            ]
        },
        "source": "https://github.com/php/php-src/commit/6dbb1ee46b5f4725cc6519abf91e512a2a10dfed",
        "target": {
            "file": "ext/exif/exif.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2016-7128-a782b938"
    },
    {
        "digest": {
            "length": 7964.0,
            "function_hash": "215008229581677938185334749663650265429"
        },
        "source": "https://github.com/php/php-src/commit/6dbb1ee46b5f4725cc6519abf91e512a2a10dfed",
        "target": {
            "function": "exif_process_IFD_in_TIFF",
            "file": "ext/exif/exif.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2016-7128-b22bc4ec"
    }
]