CVE-2026-54736
CVE-2026-54736 · Phalcon: Non-constant-time HMAC verification in `Encryption\Crypt::decrypt` (timing side-channel)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.2 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
cphalcon
- Versions
- < 5.14.1: Affected
No fix published
phalcon/cphalcon Packagist
- Versions
- 5.10.0
- 5.12.0
- 5.9.0
- 5.9.1
- 5.9.2
- 5.9.3
- v3.0.0
- v3.0.1
- v3.0.2
- v3.0.3
- v3.0.4
- v3.1.0
- v3.1.0-alpha1
- v3.1.0-alpha2
- v3.1.1
- v3.1.2
- v3.2.0
- v3.2.1
- v3.2.2
- v3.2.3
- v3.2.4
- v3.3.0
- v3.3.1
- v3.3.2
- v3.4.0
- v3.4.1
- v3.4.2
- v3.4.3
- v3.4.4
- v3.4.5
- v4.0.0
- v4.0.0-alpha.2
- v4.0.0-alpha.3
- v4.0.0-alpha.4
- v4.0.0-alpha.5
- v4.0.0-alpha1
- v4.0.0-beta.1
- v4.0.0-beta.2
- v4.0.0-rc.1
- v4.0.0-rc.2
- v4.0.0-rc.3
- v4.0.1
- v4.0.2
- v4.0.3
- v4.0.4
- v4.0.5
- v4.0.6
- v4.1.0
- v4.1.1
- v4.1.2
- v4.1.3
- v5.0.0
- v5.0.0-alpha.1
- v5.0.0-alpha.2
- v5.0.0RC1
- v5.0.0RC2
- v5.0.0RC3
- v5.0.0RC4
- v5.0.0alpha3
- v5.0.0alpha4
- v5.0.0alpha5
- v5.0.0alpha6
- v5.0.0alpha7
- v5.0.0beta1
- v5.0.0beta2
- v5.0.0beta3
- v5.0.1
- v5.0.2
- v5.0.3
- v5.0.4
- v5.0.5
- v5.1.0
- v5.1.1
- v5.1.2
- v5.1.3
- v5.1.4
- v5.11.0
- v5.11.1
- v5.12.1
- v5.13.0
- v5.14.0
- v5.2.0
- v5.2.1
- v5.2.2
- v5.2.3
- v5.3.0
- v5.3.1
- v5.4.0
- v5.5.0
- v5.6.0
- v5.6.1
- v5.6.2
- v5.7.0
- v5.8.0
- Affected ranges
- ECOSYSTEM: < 5.14.1
Update to 5.14.1
Original sources
- https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj
- https://github.com/phalcon/cphalcon/issues/17090
- https://github.com/phalcon/cphalcon/pull/17091
- https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137
- https://github.com/phalcon/cphalcon/releases/tag/v5.14.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-54736