Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

zendframework/zend-crypt
master @ 18c71ae
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Cryptographic Issues: 1 prior fix. Scrutinize any change in this area.
src/BlockCipher.php: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cryptographic Issues: Using an undefined local variable instead of the object property for the authentication tag during decryption can bypass AEAD integrity checks, allowing attackers to supply manipulated payloads without detection.
Cryptography: Standard PHP string functions like `substr` are not safe for raw binary keys when multi-byte function overloading is enabled, causing cryptographic key truncation and misalignment.