{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "4.2.0-alpha"
              },
              {
                "fixed": "4.1.7"
              },
              {
                "introduced": "0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "a429fb81a4efe1f7c0aeec5b7bf8a98a50509b85"
            },
            {
              "fixed": "28d6f641c16e3015d51d0a01d14841b845251f35"
            }
          ],
          "repo": "https://github.com/thorsten/phpmyfaq",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5hx6-c293-588h"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-76212",
  "modified": "2026-09-03T03:30:36.429122908Z",
  "published": "2026-08-19T14:01:58.591Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "phpMyFAQ before 4.1.7 LIKE Wildcard Injection via PostgreSQL"
}