Vulnerability DatabaseGHSA-77mv-mp2j-gxxh

GHSA-77mv-mp2j-gxxh
PHP vulnerability analysis and mitigation

Overview

The pygmentize package (3f/pygmentize) was found to be vulnerable to Remote Code Execution (RCE) due to unsafe sanitization of user input when passed to the highlight function. The vulnerability was discovered and reported on November 5, 2016, and affects all versions prior to 1.2. This high-severity security issue was published and reviewed in the GitHub Advisory Database on May 15, 2024 (GitHub Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 score of 8.1 (High), with the following base metrics: Network attack vector, High attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on confidentiality, integrity, and availability. The technical vector string is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary code remotely through the highlight function, potentially leading to unauthorized access, data breaches, and system compromise. The impact is rated as High for confidentiality, integrity, and availability, indicating severe potential consequences if exploited (GitHub Advisory).

Exploitability

The vulnerability requires no privileges or user interaction to exploit, though it has a high attack complexity. The attack vector is network-based, making it accessible to remote attackers (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 1.2 of the package. The fix involves implementing proper shell argument escaping using escapeshellarg on the single arguments, as implemented in Pull Request #3 (GitHub PR). Users are advised to upgrade to version 1.2 or later to mitigate this security risk.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management