Vulnerability DatabaseGHSA-78hm-5hjw-58mh

GHSA-78hm-5hjw-58mh
PHP vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in ua-parser/uap-php versions prior to 3.8.0. The vulnerability was identified on December 14, 2018, affecting the PHP implementation of the User Agent Parser library (GitHub Advisory).

Technical details

The vulnerability stems from a problematic regex pattern implementation that could lead to catastrophic backtracking. The issue was specifically related to nested repetition operators in regular expressions, such as using (\d+)? pattern, which could cause exponential processing time with certain inputs (Core PR).

Impact

When exploited, this vulnerability could cause denial of service through excessive CPU consumption when processing specially crafted user agent strings, potentially affecting the availability of applications using the vulnerable versions of the library (GitHub Advisory).

Exploitability

The vulnerability is classified as having moderate severity. It requires an attacker to send specifically crafted user agent strings to an application using the vulnerable version of ua-parser/uap-php (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 3.8.0 of ua-parser/uap-php. Users should upgrade to this version or later to address the ReDoS vulnerability. The fix involved modifying regex patterns to avoid nested repetition operators, replacing patterns like (\d+)? with safer alternatives such as (\d+|) (Core PR).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management