Advisory Published
Updated

REDHAT-BUG-2170770

First published: Fri Feb 17 2023(Updated: )

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification. <a href="https://bugs.php.net/bug.php?id=81746">https://bugs.php.net/bug.php?id=81746</a>

Affected SoftwareAffected VersionHow to fix
PHP<8.0.28
PHP<8.1.16
PHP<8.2.3

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-2170770?

    The severity of REDHAT-BUG-2170770 is significant due to potential buffer overflow vulnerabilities.

  • How do I fix REDHAT-BUG-2170770?

    To fix REDHAT-BUG-2170770, upgrade to PHP versions 8.0.28, 8.1.16, or 8.2.3 or later.

  • What versions of PHP are affected by REDHAT-BUG-2170770?

    Affected PHP versions include 8.0.X before 8.0.28, 8.1.X before 8.1.16, and 8.2.X before 8.2.3.

  • What is the nature of the vulnerability in REDHAT-BUG-2170770?

    The nature of the vulnerability in REDHAT-BUG-2170770 involves a core path resolution function allocating a buffer one byte too small.

  • Can REDHAT-BUG-2170770 lead to data corruption?

    Yes, REDHAT-BUG-2170770 can potentially lead to data corruption by overwriting memory beyond the allocated buffer.

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