Advisory Published
Updated

REDHAT-BUG-1786572

First published: Thu Dec 26 2019(Updated: )

A vulnerability was found in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access. Reference: <a href="https://bugs.php.net/bug.php?id=78863">https://bugs.php.net/bug.php?id=78863</a>

Affected SoftwareAffected VersionHow to fix
PHP<7.2.26
PHP<7.3.13
PHP

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1786572?

    The severity of REDHAT-BUG-1786572 is considered high due to potential security vulnerabilities that could arise from improper path handling in affected PHP versions.

  • How do I fix REDHAT-BUG-1786572?

    To fix REDHAT-BUG-1786572, update PHP to version 7.2.26, 7.3.13, or later.

  • Which PHP versions are affected by REDHAT-BUG-1786572?

    PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13, and 7.4.0 are affected by REDHAT-BUG-1786572.

  • What is the impact of REDHAT-BUG-1786572 on applications?

    The impact of REDHAT-BUG-1786572 could lead to security vulnerabilities in applications that handle filenames with embedded \0 bytes.

  • Is there a workaround for REDHAT-BUG-1786572?

    There are no well-documented workarounds for REDHAT-BUG-1786572; updating to a secure version is the recommended solution.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203