CVE catalog

CVE-2018-12882

Security update for php7

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
Updated
Source
[NVD] · [CVE record]
EPSS
6.71% · Oct 25, 2026

exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntuphp7.218.047.2.1-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.3-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.5-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.218.047.2.7-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.218.047.2.7-0ubuntu0.18.04.2fixed
Ubuntuphp7.218.047.2.1-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.3-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.5-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.218.047.2.7-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.218.047.2.7-0ubuntu0.18.04.2fixed
Ubuntuphp7.218.047.2.1-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.2-1ubuntu2vulnerable
Ubuntuphp7.218.047.2.3-1ubuntu1vulnerable
Ubuntuphp7.218.047.2.5-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.218.047.2.7-0ubuntu0.18.04.1fixed
Susephp7linux enterprise module for web and scripting 157.2.5-4.3.1fixed
Susephp7linux enterprise module for web and scripting 127.0.7-50.41.1fixed
Susephp7linux enterprise software development kit 12 sp37.0.7-50.41.1fixed
Susephp7linux enterprise module for web and scripting 157.2.5-4.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Ubuntuphp7.2deb18.047.2.7-0ubuntu0.18.04.2Not reportedUBUNTU-CVE-2018-12882Not reported
Ubuntuphp7.2deb18.047.2.7-0ubuntu0.18.04.2Not reportedUSN-3702-2Not reported
Ubuntuphp7.2deb18.047.2.7-0ubuntu0.18.04.1Not reportedUSN-3702-1Not reported
Susephp7rpmlinux enterprise module for web and scripting 157.2.5-4.3.1Not reportedSUSE-SU-2018:1936-1Not reported
Susephp7rpmlinux enterprise module for web and scripting 127.0.7-50.41.1Not reportedSUSE-SU-2018:1886-1Not reported
Susephp7rpmlinux enterprise software development kit 12 sp37.0.7-50.41.1Not reportedSUSE-SU-2018:1886-1Not reported
Susephp7rpmlinux enterprise module for web and scripting 157.2.5-4.3.1Not reportedSUSE-SU-2018:1936-2Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References