{"id":"CVE-2020-7226","details":"CiphertextHeader.java in Cryptacular 1.2.3, as used in Apereo CAS and other products, allows attackers to trigger excessive memory allocation during a decode operation, because the nonce array length associated with \"new byte\" may depend on untrusted input within the header of encoded data.","aliases":["GHSA-x64g-4xx9-fh6x"],"modified":"2026-04-10T04:40:47.736634Z","published":"2020-01-24T15:15:14.093Z","references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r4a62133ad01d5f963755021027a4cce23f76b8674a13860d2978c7c8%40%3Ccommits.tomee.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/re7f46c4cc29a4616e0aa669c84a0eb34832e83a8eef05189e2e59b44%40%3Cdev.ws.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rfa4647c58e375996e62a9094bffff6dc350ec311ba955b430e738945%40%3Cdev.ws.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/re04e4f8f0d095387fb6b0ff9016a0af8c93f42e1de93b09298bfa547%40%3Ccommits.ws.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r0847c7eb78c8f9e87d5b841fbd5da52b2ad4b4345e04b51c30621d88%40%3Ccommits.tomee.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r209de85beae4d257d27fc577e3a3e97039bdb4c2dc6f4a8e5a5a5811%40%3Ccommits.tomee.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r2237a27040b57adc2fcc5570bd530ad2038e67fcb2a3ce65283d3143%40%3Ccommits.tomee.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r77c48cd851f60833df9a9c9c31f12243508e15d1b2a0961066d44fc6%40%3Ccommits.tomee.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rc36b75cabb4d700b48035d15ad8b8c2712bb32123572a1bdaec2510a%40%3Cdev.ws.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r380781f5b489cb3c818536cd3b3757e806bfe0bca188591e0051ac03%40%3Ccommits.ws.apache.org%3E"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"FIX","url":"https://github.com/apereo/cas/commit/a042808d6adbbf44753d52c55cac5f533e24101f"},{"type":"FIX","url":"https://github.com/apereo/cas/pull/4685"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"FIX","url":"https://github.com/apereo/cas/commit/8810f2b6c71d73341d4dde6b09a18eb46cfd6d45"},{"type":"FIX","url":"https://github.com/apereo/cas/commit/93b1c3e9d90e36a19d0fa0f6efb863c6f0235e75"},{"type":"EVIDENCE","url":"https://github.com/vt-middleware/cryptacular/blob/fafccd07ab1214e3588a35afe3c361519129605f/src/main/java/org/cryptacular/CiphertextHeader.java#L153"},{"type":"EVIDENCE","url":"https://github.com/vt-middleware/cryptacular/blob/master/src/main/java/org/cryptacular/CiphertextHeader.java#L153"},{"type":"EVIDENCE","url":"https://github.com/vt-middleware/cryptacular/issues/52"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apereo/cas","events":[{"introduced":"0"},{"fixed":"8810f2b6c71d73341d4dde6b09a18eb46cfd6d45"},{"fixed":"93b1c3e9d90e36a19d0fa0f6efb863c6f0235e75"},{"fixed":"a042808d6adbbf44753d52c55cac5f533e24101f"}]},{"type":"GIT","repo":"https://github.com/vt-middleware/cryptacular","events":[{"introduced":"0"},{"fixed":"a1dc0b20b02e39c313cb3adfd4f02f8bf1b31390"},{"introduced":"19668f905de22d3b9b26a4b53b527701a15e864e"},{"fixed":"029112cc4af19e0d6aebe0b26dc19652f0c2ffab"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.1.4"},{"introduced":"1.2.0"},{"fixed":"1.2.4"}]}}],"versions":["3.4.11-RC1","v1.0","v1.0-RC1","v1.0-RC2","v1.0-RC3","v1.0-RC4","v1.0-RC6","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v3.4.11","v3.5.0","v3.5.0-RC1","v3.5.0-RC2","v3.5.1-RC1","v4.0.0-RC1","v5.3.12","v5.3.12.1","v5.3.14","v5.3.15","v6.0.5","v6.0.5.1","v6.0.6","v6.0.7","v6.0.8","v6.1.0","v6.1.0-RC5","v6.1.0-RC6","v6.1.3","v6.1.4"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.1.1.0.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7226.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}