CVE Vulnerabilities

CVE-2019-7317

Use After Free

Published: Feb 04, 2019 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
2.6 LOW
AV:N/AC:H/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
5.3 LOW
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

png_image_free in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because png_image_free_function is called under png_safe_execute.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
LibpngLibpng1.6.0 (including)1.6.37 (excluding)
Red Hat Enterprise Linux 6RedHatfirefox-0:60.7.0-1.el6_10*
Red Hat Enterprise Linux 6RedHatthunderbird-0:60.7.0-1.el6_10*
Red Hat Enterprise Linux 6 SupplementaryRedHatjava-1.7.1-ibm-1:1.7.1.4.50-1jpp.1.el6_10*
Red Hat Enterprise Linux 6 SupplementaryRedHatjava-1.8.0-ibm-1:1.8.0.5.40-1jpp.1.el6_10*
Red Hat Enterprise Linux 7RedHatfirefox-0:60.7.0-1.el7_6*
Red Hat Enterprise Linux 7RedHatthunderbird-0:60.7.0-1.el7_6*
Red Hat Enterprise Linux 7 SupplementaryRedHatjava-1.7.1-ibm-1:1.7.1.4.50-1jpp.1.el7*
Red Hat Enterprise Linux 7 SupplementaryRedHatjava-1.8.0-ibm-1:1.8.0.5.40-1jpp.1.el7*
Red Hat Enterprise Linux 8RedHatfirefox-0:60.7.0-1.el8_0*
Red Hat Enterprise Linux 8RedHatthunderbird-0:60.7.0-1.el8_0*
Red Hat Enterprise Linux 8RedHatjava-1.8.0-ibm-1:1.8.0.5.40-3.el8_0*
Red Hat Satellite 5.8RedHatjava-1.8.0-ibm-1:1.8.0.5.40-1jpp.1.el6_10*
FirefoxUbuntubionic*
FirefoxUbuntucosmic*
FirefoxUbuntudevel*
FirefoxUbuntudisco*
FirefoxUbuntueoan*
FirefoxUbuntufocal*
FirefoxUbuntugroovy*
FirefoxUbuntuhirsute*
FirefoxUbuntuimpish*
FirefoxUbuntujammy*
FirefoxUbuntukinetic*
FirefoxUbuntulunar*
FirefoxUbuntumantic*
FirefoxUbuntunoble*
FirefoxUbuntuoracular*
FirefoxUbuntuplucky*
FirefoxUbuntuquesting*
FirefoxUbuntutrusty*
FirefoxUbuntuupstream*
FirefoxUbuntuxenial*
Libpng1.6Ubuntubionic*
Libpng1.6Ubuntucosmic*
Libpng1.6Ubuntuesm-apps/xenial*
Libpng1.6Ubuntuesm-infra/bionic*
Libpng1.6Ubuntuupstream*
Libpng1.6Ubuntuxenial*
Openjdk-12Ubuntudisco*
Openjdk-8Ubuntubionic*
Openjdk-8Ubuntudisco*
Openjdk-8Ubuntuesm-apps/bionic*
Openjdk-8Ubuntuesm-infra/xenial*
Openjdk-8Ubuntuxenial*
Openjdk-9Ubuntuesm-apps/xenial*
Openjdk-9Ubuntuxenial*
Openjdk-ltsUbuntubionic*
Openjdk-ltsUbuntudisco*
Openjdk-ltsUbuntuesm-infra/bionic*
ThunderbirdUbuntubionic*
ThunderbirdUbuntucosmic*
ThunderbirdUbuntudevel*
ThunderbirdUbuntudisco*
ThunderbirdUbuntueoan*
ThunderbirdUbuntufocal*
ThunderbirdUbuntugroovy*
ThunderbirdUbuntuhirsute*
ThunderbirdUbuntuimpish*
ThunderbirdUbuntujammy*
ThunderbirdUbuntukinetic*
ThunderbirdUbuntulunar*
ThunderbirdUbuntumantic*
ThunderbirdUbuntunoble*
ThunderbirdUbuntuoracular*
ThunderbirdUbuntuplucky*
ThunderbirdUbuntuquesting*
ThunderbirdUbuntuupstream*
ThunderbirdUbuntuxenial*

Potential Mitigations

References