VDB

GHSA-m9m5-q9x5-6877

GHSA-m9m5-q9x5-6877 PUBLISHED CVSS 9.800000190734863 CRITICAL

Record from GitHub Advisory Database · Published May 1, 2022

The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.

Risk scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Timeline

  • May 1, 2022 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Apr 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-m9m5-q9x5-6877
vulnetix vdb fixes GHSA-m9m5-q9x5-6877

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-m9m5-q9x5-6877/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›