Buffer overflow in PHP
CVE-2019-9675
An issue was discovered in PHP 7.x before 7.1.27 and 7.3.x before 7.3.3. phar_tar_writeheaders_int in ext/phar/tar.c has a buffer overflow via a long link value. NOTE: The vendor indicates that the link value is used only when an archive contains a symlink, which currently cannot happen: "This issue allows theoretical compromise of security, but a practical attack is usually impossible.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.060, 93.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- Canonical Ubuntu Linux — versions 12.04, 14.04
- openSUSE Leap — versions 42.3
Weakness classification (CWE)
References
- php.net/ChangeLog-7.php (Product, Vendor Advisory)
- bugs.php.net/bug.php (Patch, Issue Tracking, Vendor Advisory)
- USN-3922-2 (vendor-advisory, Third Party Advisory)
- USN-3922-3 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2019:1293 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:1503 (vendor-advisory)
- openSUSE-SU-2019:1572 (vendor-advisory)
- openSUSE-SU-2019:1573 (vendor-advisory)