Critical SQL Injection and Denial of Service Vulnerabilities in PHP 8.2

libzip Updated 21 Aug 2026

Summary

21/08/2026
N/A
Yes i
High
7.4

RLSA-2026:57574: Important: php:8.2 security, bug fix, and enhancement update. Affects libzip across 3 version ranges.

< 0:1.7.3-1.module+el8.10.0+1596+477f03f8 < 0:1.7.3-1.module+el8.10.0+1911+f499711e < 0:1.7.3-1.module+el8.10.0+1605+02e07af7

Fixed in 0:1.7.3-1.module+el8.10.0+1596+477f03f8, 0:1.7.3-1.module+el8.10.0+1911+f499711e or 0:1.7.3-1.module+el8.10.0+1605+02e07af7, 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 widely utilized for web development, particularly in conjunction with the Apache HTTP Server. It allows developers to create dynamic web pages and applications. The recent vulnerabilities identified in PHP 8.2 highlight significant security flaws that could potentially compromise applications relying on this version.

Vulnerability Detail

The vulnerabilities stem from two critical issues: first, a SQL injection vulnerability in the ext-pgsql extension due to improper backslash escaping (CVE-2026-17543), which could allow attackers to manipulate SQL queries and gain unauthorized access to databases. Second, a Denial of Service vulnerability (CVE-2026-7260) exists due to circular symbolic links in phar archives, which could lead to application crashes or unavailability. Both vulnerabilities pose serious risks to the integrity and availability of applications using PHP 8.2.

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.7.3-1.module+el8.10.0+1596+477f03f8 0:1.7.3-1.module+el8.10.0+1596+477f03f8
  • < 0:1.7.3-1.module+el8.10.0+1605+02e07af7 0:1.7.3-1.module+el8.10.0+1605+02e07af7
  • < 0:1.7.3-1.module+el8.10.0+1911+f499711e 0:1.7.3-1.module+el8.10.0+1911+f499711e

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, users can mitigate the risk of SQL injection by implementing input validation and sanitization in their applications. For the Denial of Service vulnerability, avoid using phar archives with circular symbolic links until the update is applied.

Conclusion

The vulnerabilities in PHP 8.2 present significant risks that could compromise the security and availability of applications. It is crucial for developers and system administrators to update to the latest patched version and implement best practices to mitigate these risks.

See every vulnerability recorded for libzip →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 7.4, indicating a high severity level.

You can use Vulert, which monitors open-source vulnerabilities in real-time. By uploading your manifest file, you can check for vulnerabilities without requiring access to the code.

The SQL injection vulnerability could lead to unauthorized database access, while the Denial of Service vulnerability could cause application downtime, affecting user experience and service availability.

Yes, upgrading to PHP 8.2.33 or later will ensure that these vulnerabilities are patched.

Implement input validation and sanitization to protect against SQL injection and avoid using phar archives with circular symbolic links until you can apply the update.

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.7.3-1.module+el8.10.0+1596+477f03f8 0:1.7.3-1.module+el8.10.0+1596+477f03f8
  • < 0:1.7.3-1.module+el8.10.0+1605+02e07af7 0:1.7.3-1.module+el8.10.0+1605+02e07af7
  • < 0:1.7.3-1.module+el8.10.0+1911+f499711e 0:1.7.3-1.module+el8.10.0+1911+f499711e

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