Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-54736: CWE-208: Observable Timing Discrepancy in phalcon cphalcon

0
High
VulnerabilityCVE-2026-54736cvecve-2026-54736cwe-208cwe-347
Published: 07/10/2026 (07/10/2026, 21:02:53 UTC)
Source: CVE Database V5
Vendor/Project: phalcon
Product: cphalcon

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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
phalcon/cphalcon
pkg:github/phalcon/cphalcon
Affected versions
<5.14.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 15:28:15 UTC

Technical Analysis

Phalcon's Crypt::decrypt method in versions before 5.14.1 performs HMAC tag verification using a PHP/Zephir identity comparison that reduces to a byte-wise comparison returning early upon the first byte difference. This creates an observable timing discrepancy (CWE-208) that can be exploited to recover a valid HMAC tag byte-by-byte. An attacker can then attach this valid tag to a chosen initialization vector (IV) and ciphertext, causing decrypt() to accept tampered encrypted content as authentic. This vulnerability is addressed in Phalcon version 5.14.1.

Potential Impact

An attacker can exploit the timing discrepancy to recover a valid HMAC tag incrementally, enabling them to forge encrypted content that decrypt() will accept as authentic. This compromises the integrity of encrypted data, potentially allowing unauthorized data manipulation without detection.

Mitigation Recommendations

Upgrade Phalcon cphalcon to version 5.14.1 or later, where this timing discrepancy vulnerability is fixed. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T23:07:33.233Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a51650f68715ace433b3d16

Added to database: 07/10/2026, 21:33:03 UTC

Last enriched: 07/18/2026, 15:28:15 UTC

Last updated: 08/24/2026, 05:17:08 UTC

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses