{"id":"CVE-2026-54736","state":"PUBLISHED","title":"Phalcon: Non-constant-time HMAC verification in `Encryption\\Crypt::decrypt` (timing side-channel)","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.","publishedAt":"2026-07-10T21:02:53.873Z","updatedAt":"2026-07-13T18:01:40.822Z","severity":{"score":8.2,"label":"High","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["phalcon cphalcon"],"affected":[{"vendor":"phalcon","product":"cphalcon","versions":[{"version":"< 5.14.1","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-208","CWE-347"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54736.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54736","state":"PUBLISHED","datePublished":"2026-07-10T21:02:53.873Z","dateUpdated":"2026-07-13T18:01:40.822Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T23:07:33.233Z"},"containers":{"cna":{"title":"Phalcon: Non-constant-time HMAC verification in `Encryption\\Crypt::decrypt` (timing side-channel)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"phalcon","product":"cphalcon","versions":[{"version":"< 5.14.1","status":"affected"}]}],"references":[{"url":"https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj","name":"https://github.com/phalcon/cphalcon/security/advisories/GHSA-8jqh-95g6-7jpj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phalcon/cphalcon/issues/17090","name":"https://github.com/phalcon/cphalcon/issues/17090","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/pull/17091","name":"https://github.com/phalcon/cphalcon/pull/17091","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137","name":"https://github.com/phalcon/cphalcon/commit/ad53ab1b2e7ec59b3af92b0b37b8aaa099011137","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/releases/tag/v5.14.1","name":"https://github.com/phalcon/cphalcon/releases/tag/v5.14.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","lang":"en","description":"CWE-208: Observable Timing Discrepancy","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"CWE-347: Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T21:02:53.873Z"},"source":{"advisory":"GHSA-8jqh-95g6-7jpj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-13T18:01:29.598956Z","id":"CVE-2026-54736","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-13T18:01:40.822Z"}}]}}}