CVE-2022-24953
PHP vulnerability analysis and mitigation

Overview

The Crypt_GPG extension before version 1.6.7 for PHP contains a security vulnerability (CVE-2022-24953) that fails to prevent additional options in GPG calls. This vulnerability was discovered and disclosed in February 2022, affecting all versions of the Crypt_GPG package prior to 1.6.7. The vulnerability impacts environments using the PHP Crypt_GPG extension for GPG operations (NVD).

Technical details

The vulnerability stems from the failure to properly validate arguments in API calls, allowing potential manipulation of GPG commands. The issue was addressed by inserting an end-of-options marker ('--') before operation arguments to prevent interpretation of user-supplied input as commands or flags. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (NVD, Debian).

Impact

The vulnerability could allow API calls to be tricked into performing unintended commands, potentially resulting in erroneous output or information leaks. The security impact varies depending on the environment and GPG version in use (Debian).

Mitigation and workarounds

The vulnerability was fixed in Crypt_GPG version 1.6.7 by implementing proper input validation and adding the end-of-options marker before operation arguments. Users are advised to upgrade to version 1.6.7 or later to address this security issue (GitHub Commit).

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-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-68954HIGH7.5
  • PHPPHP
  • github.com/pterodactyl/wings
NoYesJan 06, 2026
CVE-2025-68456HIGH7
  • PHPPHP
  • cpe:2.3:a:craftcms:craft_cms
NoYesJan 05, 2026
CVE-2025-69197MEDIUM6.5
  • PHPPHP
  • pterodactyl/panel
NoYesJan 06, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 07, 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