Php: Stack overflow in phar with circular symlinks (CVE-2026-7260)
Description
Circular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and crashing the PHP process, in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.* before 8.5.9.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This advisory addresses two security vulnerabilities in PHP 8.3 as packaged for Red Hat Enterprise Linux 9. CVE-2026-17543 is a SQL injection vulnerability in the ext-pgsql extension caused by improper handling of backslash escaping. CVE-2026-7260 is a denial of service vulnerability triggered by circular symbolic links in phar archives. Red Hat has rebased PHP to version 8.3.33 in the 9.8.z update stream to remediate these issues. The advisory includes bug fixes and enhancements alongside the security fixes.
Potential Impact
Successful exploitation of CVE-2026-17543 could allow an attacker to perform SQL injection attacks via the ext-pgsql extension, potentially compromising database integrity or confidentiality. CVE-2026-7260 could allow an attacker to cause a denial of service by exploiting circular symbolic links in phar archives, potentially disrupting PHP-based services. Red Hat rates the overall security impact as Important.
Mitigation Recommendations
Red Hat has released an updated PHP 8.3 package rebased to version 8.3.33 that fixes these vulnerabilities. Users of Red Hat Enterprise Linux 9 and related variants should apply the update as described in the Red Hat advisory RHSA-2026:57539 and the referenced article https://access.redhat.com/articles/11258. No additional mitigation steps are indicated beyond applying the official update.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:57539
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-17543"]
- State
- PUBLISHED
Threat ID: 6a95a0f9acd9273b4947e3f7
Added to database: 08/31/2026, 15:42:49 UTC
Last enriched: 09/07/2026, 23:52:24 UTC
Last updated: 10/16/2026, 06:48:19 UTC
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.