豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

CVE‐2025‐14813

David Hook edited this page Apr 15, 2026 · 4 revisions

Title: : GOSTCTR implementation unable to process more than 255 blocks correctly

Issue affecting: BC 1.59 to 1.83.

Fixed versions: BC 1.84

Platform affected: Java 4 and later.

The GOST-R-3413-2015 CTR implementation in G3413CTRBlockCipher was using a single byte as a counter, resulting in the mode being unable to encrypt or decrypt more than 255 blocks. This is somewhat below the algorithm definition which says the counter should allow for n/2 bits where n is the block size of the cipher in use.

We believe the two patches added for the 1.84 release fix this problem correctly.

Clone this wiki locally