PobreGato and Claude Opus 5
466e865e91
LeaseSet2: check declared key length before creating an encryptor
...
A key section in a standard LeaseSet2 carries both a key type and a key
length. The length is checked against the buffer, but the encryptor reads
a length fixed by the type instead: 256 bytes for ElGamal, 64 for ECIES
P256, 32 for X25519. A section that declares ElGamal with a length of zero
passes the check and then makes CreateEncryptor read 256 bytes past the end
of the message.
Key sections are parsed before the signature is verified, so no key material
is needed to trigger it.
GetCryptoPublicKeyLen returned 32 for ECIES P256, while the key is x and y,
32 bytes each; without fixing that too, the new check would still let a 32
byte P256 section through.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01Awv7FvZTpGFsKFNeNyJaTE
2026-09-14 21:43:53 -04:00
..
2025-10-13 17:33:53 -04:00
2026-07-24 17:49:31 -04:00
2026-08-16 03:56:58 +03:00
2026-08-16 03:56:58 +03:00
2026-08-18 15:43:44 -04:00
2026-08-18 15:43:44 -04:00
2026-08-24 18:16:50 -04:00
2026-07-25 16:42:55 -04:00
2024-12-06 20:25:22 -05:00
2026-08-08 16:52:28 -04:00
2026-08-08 16:52:28 -04:00
2026-07-24 20:45:35 -04:00
2026-09-14 21:43:53 -04:00
2026-09-03 01:58:09 +03:00
2026-08-30 13:24:40 -04:00
2026-09-14 14:45:13 -04:00
2026-09-07 22:55:21 -04:00
2026-09-09 09:23:18 -04:00
2026-08-12 19:27:06 +03:00
2025-06-18 13:19:49 -04:00
2024-11-01 17:53:27 -04:00
2022-05-20 17:44:29 +00:00
2020-05-22 18:14:53 +00:00
2026-07-25 11:34:36 -04:00
2025-02-19 11:08:47 -05:00
2026-08-23 14:58:28 -04:00
2026-08-23 14:58:28 -04:00
2026-08-21 10:51:44 -04:00
2026-08-24 10:20:04 -04:00
2025-07-14 08:43:28 +00:00
2020-05-22 18:14:53 +00:00
2026-07-25 11:34:36 -04:00
2026-06-17 20:15:58 -04:00
2026-08-31 03:12:39 +03:00
2026-07-26 14:11:18 -04:00
2026-08-08 14:38:11 -04:00
2026-08-08 14:38:11 -04:00
2022-02-18 09:20:06 +03:00
2026-07-24 20:45:35 -04:00
2026-06-22 21:57:06 +03:00
2026-06-22 21:57:06 +03:00
2026-06-13 15:27:57 -04:00
2026-06-13 15:27:57 -04:00
2023-03-26 01:48:22 +00:00
2023-02-22 15:58:20 -05:00
2026-09-14 21:43:53 -04:00
2026-09-10 20:07:06 -04:00
2020-05-22 18:14:53 +00:00
2026-01-07 20:24:59 +03:00
2024-09-02 18:22:33 -04:00
2026-09-07 22:55:21 -04:00
2026-05-27 20:14:07 -04:00
2026-08-21 10:51:44 -04:00
2026-03-06 10:55:47 +03:00
2026-09-07 20:23:57 -04:00
2026-09-07 09:17:13 -04:00
2026-08-12 19:27:06 +03:00
2026-06-08 09:36:57 -04:00
2026-08-21 12:51:05 -04:00
2026-02-14 15:13:20 -05:00
2026-02-28 21:27:42 -05:00
2026-09-09 20:35:08 -04:00
2026-04-26 15:17:57 -04:00
2026-08-12 16:43:22 -04:00
2026-09-07 22:55:21 -04:00
2026-08-23 13:27:13 -04:00
2026-09-07 22:55:21 -04:00
2026-06-08 11:19:39 +00:00
2026-07-24 17:56:41 -04:00
2024-02-14 21:58:03 -05:00
2026-08-21 10:51:44 -04:00
2026-07-22 02:29:03 +03:00
2026-07-25 17:36:08 -04:00
2026-03-06 10:55:47 +03:00
2026-09-14 14:45:39 -04:00
2026-07-20 14:31:11 +03:00
2026-09-02 01:37:06 +03:00
2026-08-22 22:53:48 -04:00
2026-08-18 03:06:31 +03:00
2026-09-07 22:55:21 -04:00
2026-09-07 22:55:21 -04:00
2026-08-24 10:20:04 -04:00
2026-08-24 10:20:04 -04:00
2026-08-21 10:51:44 -04:00
2026-09-07 22:55:21 -04:00
2026-03-23 21:33:50 -04:00
2026-08-24 10:20:04 -04:00
2026-08-24 10:20:04 -04:00
2024-12-17 20:50:54 -05:00
2024-12-16 19:49:14 -05:00
2026-07-25 16:42:55 -04:00
2026-07-25 16:42:55 -04:00
2026-08-31 04:28:37 +03:00
2025-02-09 14:20:56 +03:00
2026-08-21 10:51:44 -04:00
2026-08-20 21:42:05 -04:00
2026-08-21 10:51:44 -04:00
2026-08-24 10:20:04 -04:00
2026-09-07 22:55:21 -04:00
2026-08-21 10:51:44 -04:00
2026-07-18 07:39:26 -04:00