CVE-2026-76212
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.
Weakness
- CWE-88: Improper Neutralization of Argument Delimiters in a Command
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-08-25 |
Timeline
- 2026-08-19Published by the CNA14:01 UTC
- 2026-08-25CISA SSVC decision recorded6 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| phpmyfaq phpmyfaq | from 4.2.0 before 4.1.7fixed in 4.1.7before 4.1.7fixed in 4.1.7 | 4.1.74.1.7 |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5hx6-c293-588h
- https://www.vulncheck.com/advisories/phpmyfaq-before-like-wildcard-injection-via-postgresql
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-76212'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-76212'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-76212'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-76212'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).