Skip to main content
← All vulnerabilities
CVE-2026-76212

phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • thorsten phpMyFAQ

    From 4.2.0-alpha · fixed in 4.1.7

References 2

GitHub · thorsten/phpMyFAQ

vulncheck.com