{"id":"CVE-2026-76212","summary":"phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL","details":"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.","aliases":["GHSA-5hx6-c293-588h"],"modified":"2026-09-03T03:48:20.032593560Z","published":"2026-08-19T14:01:58.591Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-88"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76212.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76212.json"},{"type":"ADVISORY","url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5hx6-c293-588h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76212"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/phpmyfaq-before-like-wildcard-injection-via-postgresql"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thorsten/phpmyfaq","events":[{"introduced":"a429fb81a4efe1f7c0aeec5b7bf8a98a50509b85"},{"fixed":"28d6f641c16e3015d51d0a01d14841b845251f35"}],"database_specific":{"extracted_events":[{"introduced":"4.2.0-alpha"},{"fixed":"4.1.7"},{"introduced":"0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76212.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}