# CVE-2026-76212: phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T14:01:58.591Z
- Modified: 2026-09-01T15:20:29.367Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: from 4.2.0-alpha before 4.1.7 (not affected: 4.1.7)
- phpmyfaq phpmyfaq: before 4.1.7

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5hx6-c293-588h> (exploit, mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/phpmyfaq-before-like-wildcard-injection-via-postgresql> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-76212](https://www.cve.org/CVERecord?id=CVE-2026-76212), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-76212](https://nvd.nist.gov/vuln/detail/CVE-2026-76212), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-76212 · Whole record: https://cve.day/CVE-2026-76212.json · Rebuilt by cve.day 2026-11-25T22:59:33.932Z
