CVE-2026-54736 Details
Description
Phalcon is a high-performance, full-stack PHP framework. Prior to 5.14.1, Phalcon\Encryption\Crypt::decrypt compares the attacker-supplied HMAC tag against the freshly computed HMAC using PHP/Zephir identity comparison, which lowers to a byte-wise comparison that returns early on the first differing byte. This observable timing discrepancy can allow an attacker to recover a valid tag byte-by-byte and attach it to a chosen IV and ciphertext so that decrypt() accepts tampered encrypted content as authentic. This issue is fixed in version 5.14.1.
A vulnerability exists in the Phalcon PHP framework's encryption component, specifically in the Crypt::decrypt method, prior to version 5.14.1. The issue arises because HMAC verification is performed using a non-constant-time comparison, which creates a timing side-channel. This allows an attacker to recover a valid HMAC tag byte-by-byte and attach it to a chosen initialization vector (IV) and ciphertext, deceiving the decryption process into accepting tampered data as authentic. The vulnerability exploits the fact that the comparison operation returns early upon encountering the first differing byte, creating an opportunity for a timing attack. This flaw is particularly concerning because it undermines the integrity of the encrypted data, such as cookies containing authorization information.
Users can upgrade to Phalcon version 5.14.1 or later, where this vulnerability has been fixed. Instructions for updating can be found in the Phalcon documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2026CISA-ADP
Assessed Jul 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137 | [email protected] | Source CodeVendor |
| https://github.com/phalcon/cphalcon/issues/17090 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/phalcon/cphalcon/pull/17091 | [email protected] | Source CodeVendor |
| https://github.com/phalcon/cphalcon/releases/tag/v5.14.1 | [email protected] | Release NotesVendor |
| https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-208 | Observable Timing Discrepancy | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Phalcon | <= 5.14.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 13, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2026 | New CVE Received | [email protected] |
Volerion