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.
Severity (CVSS)
| Base score | 8.2 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-208 — CWE-208: Observable Timing Discrepancy
- CWE-347 — CWE-347: Improper Verification of Cryptographic Signature
Affected products
| Vendor | Product | Versions |
|---|---|---|
| phalcon | cphalcon | < 5.14.1 |
References
- https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj (x_refsource_CONFIRM)
- https://github.com/phalcon/cphalcon/issues/17090 (x_refsource_MISC)
- https://github.com/phalcon/cphalcon/pull/17091 (x_refsource_MISC)
- https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137 (x_refsource_MISC)
- https://github.com/phalcon/cphalcon/releases/tag/v5.14.1 (x_refsource_MISC)
Generated from the official CVE List on 11 Jul 2026 07:02 UTC.