# CVE-2026-54736: Phalcon: Non-constant-time HMAC verification in `Encryption\Crypt::decrypt` (timing side-channel)

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-10T21:02:53.873Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-8jqh-95g6-7jpj
- Weaknesses: CWE-208, CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- phalcon cphalcon: < 5.14.1
- phalcon/cphalcon (Packagist): before 5.14.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj> (web)
- <https://github.com/phalcon/cphalcon/issues/17090> (web)
- <https://github.com/phalcon/cphalcon/pull/17091> (web)
- <https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137> (web)
- <https://github.com/phalcon/cphalcon/releases/tag/v5.14.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54736> (advisory)
- <https://github.com/phalcon/cphalcon> (package)

## Sources

- CVE List: [CVE-2026-54736](https://www.cve.org/CVERecord?id=CVE-2026-54736), CVE Terms of Use, modified 2026-07-13
- GitHub Advisory Database: [GHSA-8jqh-95g6-7jpj](https://github.com/advisories/GHSA-8jqh-95g6-7jpj), CC-BY-4.0, modified 2026-08-28
- NVD: [CVE-2026-54736](https://nvd.nist.gov/vuln/detail/CVE-2026-54736), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54736 · Whole record: https://cve.day/CVE-2026-54736.json · Rebuilt by cve.day 2026-11-25T22:59:27.701Z
