CVE-2026-76212
published medium CVSS 4.0 · 6.9phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thorsten | — | phpMyFAQ4.2.0-alpha to < 4.1.7 (affected · semver) · 4.1.7 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thorsten | phpMyFAQ | 4.2.0-alpha to < 4.1.7 (affected · semver)4.1.7 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
2- GitHub Security Advisory (GHSA-5hx6-c293-588h) https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5hx6-c293-588h
- VulnCheck Advisory: phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL https://www.vulncheck.com/advisories/phpmyfaq-before-like-wildcard-injection-via-postgresql
Provider assertions
2VulnCheck · cna
phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4645d76fed38025dd72f154f0961d0e999263ede5de51aa27e32b08fd8f65f41
- Ingested
- 23 Sep 2026, 09:32:15 UTC
- Source record
- Official CVE record