CVE-2022-37454: Critical Buffer Overflow Vulnerability in Bitnami libphp

libphp Updated 02 Oct 2025

Summary

11/08/2025
Yes i
Critical
Not published

CVE-2022-37454: The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. Affects libphp across 3 version ranges.

>= 7.2.0, < 7.4.33 >= 8.0.0, < 8.0.25 >= 8.1.0, < 8.1.12

Fixed in 7.4.33, 8.0.25 or 8.1.12, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2022-37454 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Bitnami's libphp package provides a robust environment for running PHP applications, enabling developers to deploy and manage PHP applications seamlessly. It is widely used in various web applications due to its ease of use and integration capabilities. However, the package has been found to contain a critical vulnerability that can lead to severe security risks.

Vulnerability Detail

The vulnerability identified as CVE-2022-37454 arises from an integer overflow and subsequent buffer overflow in the Keccak XKCP SHA-3 reference implementation, specifically in the sponge function interface. This flaw allows attackers to execute arbitrary code or compromise the expected cryptographic properties of the application, posing a significant threat to data integrity and application security.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.2.0, < 7.4.33 7.4.33
  • >= 8.0.0, < 8.0.25 8.0.25
  • >= 8.1.0, < 8.1.12 8.1.12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, consider disabling the affected functionalities of the Keccak SHA-3 implementation until the package can be updated. However, this is not a long-term solution and should only be used if immediate patching is not feasible.

Conclusion

The CVE-2022-37454 vulnerability in Bitnami's libphp package poses a critical risk due to its potential for arbitrary code execution. It is crucial to update to the patched versions to mitigate this risk and ensure the security of your applications.

See every vulnerability recorded for libphp →

Share this vulnerability

FAQ

CVE-2022-37454 is a critical vulnerability in the Bitnami libphp package that allows for buffer overflow and potential arbitrary code execution.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to arbitrary code execution, compromising the integrity and security of the application.

You can update the libphp package to a patched version using the provided commands for versions 7.4.33, 8.0.25, or 8.1.12.

If immediate updating is not possible, consider disabling the affected functionalities as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for libphp.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.2.0, < 7.4.33 7.4.33
  • >= 8.0.0, < 8.0.25 8.0.25
  • >= 8.1.0, < 8.1.12 8.1.12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback