CVE-2026-76212 phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHP
Description
phpMyFAQ before 4.1.7, when configured to use PostgreSQL via the native pgsql PHP extension, declares an incorrect LIKE ESCAPE character ('=') in the Search/Database/Pgsql.php backend while escapeLikeWildcards() escapes user input with the '|' prefix. As a result, wildcard escaping is a no-op and user-supplied % and _ characters remain active LIKE wildcards. An unauthenticated attacker can submit such characters in the public FAQ search form to force maximally broad pattern matches and expensive sequential scans, resulting in a denial of service. The PDO PostgreSQL backend is not affected, and quotes remain escaped so this does not enable quote-breaking SQL injection or data exfiltration.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| phpmyfaq/phpmyfaq | < 4.1.7 | 4.1.7 | Fixed |
| thorsten phpMyFAQ | >= 4.2.0-alpha, < 4.1.7 | 4.1.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| thorsten phpMyFAQ | >= 4.2.0-alpha, < 4.1.7 | 4.1.7 |
| phpmyfaq/phpmyfaq | < 4.1.7 | 4.1.7 |
References
- GitHub Security Advisory (GHSA-5hx6-c293-588h) exploit mitigation vendor-advisory
- VulnCheck Advisory: phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL third-party-advisory
- ENISA EUVD EUVD-2026-62453 third-party-advisory