CVE-2018-20783: Buffer Overflow

Published Nov 12, 2018
·
Updated

Fixed bug (Heap Buffer Overflow (READ: 4) in pharparsepharfile). (CVE-2018-20783)

Other sources

In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2. ...

Debian

Affected Software

16 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
redhat/rh-php72-php<0:7.2.24-1.el7
0:7.2.24-1.el7
redhat/php<5.6.39
5.6.39
redhat/php<7.0.33
7.0.33
redhat/php<7.1.25
7.1.25
redhat/php<7.2.13
7.2.13
redhat/php<7.3.0
7.3.0
debian/php5
debian/php7.0
debian/php7.3
PHP PHP<7.0.33
7.0.33
PHP PHP<5.6.39
PHP PHP>=7.0.0<7.0.33
PHP PHP>=7.1.0<7.1.25
PHP PHP>=7.2.0<7.2.13
openSUSE Leap=42.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-php71-php to a version that resolves this vulnerability.

    Fixed in 0:7.1.30-1.el7
  2. Upgrade

    Upgrade redhat/rh-php72-php to a version that resolves this vulnerability.

    Fixed in 0:7.2.24-1.el7
  3. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 5.6.39
  4. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.0.33
  5. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.1.25
  6. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.2.13
  7. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.3.0
  8. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.0.33
  9. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.6.39
  10. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.1.25
  11. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.13

Event History

Nov 12, 2018
CVE Published
12:00 AM
Feb 21, 2019
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:00 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·04:05 PM
RemedyDescriptionSeverityAffected Software
Apr 28, 2026
Data Sourced
via Debian·04:58 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2018-20783?

CVE-2018-20783 is a fixed bug that involves a heap buffer overflow in the phar_parse_pharfile function in PHP.

2

How does CVE-2018-20783 affect PHP?

CVE-2018-20783 affects PHP versions before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13.

3

What is the severity of CVE-2018-20783?

The severity of CVE-2018-20783 is high, with a severity score of 7.5.

4

How can I fix CVE-2018-20783?

To fix CVE-2018-20783, upgrade PHP to version 5.6.39, 7.0.33, 7.1.25, or 7.2.13.

5

Where can I find more information about CVE-2018-20783?

You can find more information about CVE-2018-20783 at the following references: [link 1](https://bugs.php.net/bug.php?id=77143), [link 2](http://git.php.net/?p=php-src.git;a=commitdiff;h=e7c8e6cde021afd637ea535b0641a1851e57fb2a), [link 3](https://access.redhat.com/errata/RHSA-2019:2519).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203