Important: php:7.4 security update

libzip Updated 02 Oct 2025

Summary

30/06/2022
N/A
Yes i
High
8.8

RLSA-2022:5467: Important: php:7.4 security update. Affects libzip across 2 version ranges.

< 0:1.6.1-1.module+el8.6.0+789+2130c178 < 0:1.6.1-1.module+el8.4.0+415+e936cba3

Fixed in 0:1.6.1-1.module+el8.6.0+789+2130c178 or 0:1.6.1-1.module+el8.4.0+415+e936cba3, depending on the release line you run. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server. It allows developers to create dynamic web pages and applications. The vulnerability affects the PHP package version 7.4.

Vulnerability Detail

The vulnerability (CVE-2022-31626) in the PHP package allows an attacker to trigger a buffer overflow by providing a password of excessive length. This buffer overflow can lead to remote code execution (RCE) on the affected system. The vulnerability has a CVSS score of 8.8, indicating a high severity level. Successful exploitation of this vulnerability can have serious consequences, including unauthorized access, data breaches, and potential compromise of the entire system.

How To Fix

Fixed versions by release line

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

sudo dnf update libzip
  • < 0:1.6.1-1.module+el8.4.0+415+e936cba3 0:1.6.1-1.module+el8.4.0+415+e936cba3
  • < 0:1.6.1-1.module+el8.6.0+789+2130c178 0:1.6.1-1.module+el8.6.0+789+2130c178

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

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to apply the security update as soon as possible.

Conclusion

The PHP package version 7.4 is affected by a buffer overflow vulnerability (CVE-2022-31626) that can lead to remote code execution. To mitigate this vulnerability, it is crucial to update the PHP package to version 7.4.19-3.module+el8.6.0+990+389ef54a or later. Failure to apply the necessary security patches can result in unauthorized access, data breaches, and potential compromise of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for libzip →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code on the affected system, potentially leading to unauthorized access, data breaches, and system compromise.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to apply the security update to prevent any potential exploitation.

The primary mitigation is to update the PHP package to the latest version. Additionally, it is recommended to follow secure coding practices, such as input validation and proper handling of user-supplied data, to reduce the risk of exploitation.

You can refer to the CVE page (CVE-2022-31626) for more details about the vulnerability, including its impact, CVSS score, and any related information.

Related vulnerabilities

Recent vulnerabilities recorded for libzip.

How To Fix

Fixed versions by release line

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

sudo dnf update libzip
  • < 0:1.6.1-1.module+el8.4.0+415+e936cba3 0:1.6.1-1.module+el8.4.0+415+e936cba3
  • < 0:1.6.1-1.module+el8.6.0+789+2130c178 0:1.6.1-1.module+el8.6.0+789+2130c178

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