# CVE-2024-56141: Minosoft has IV equal to key

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-06T23:17:54.978Z
- Modified: 2026-10-02T00:10:00.180Z
- Weaknesses: CWE-329
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Minosoft is an open-source, multi-version Minecraft Java Edition client written in Kotlin. Starting in commit f1ae30e2b046a490026a8413b075685deb795122, the CryptManager  encryption routine ( CryptManager.kt ) initializes its AES cipher using an initialization vector (IV) that is set equal to the secret key rather than to a sufficiently random value. Because the IV is not random and is derived directly from the key, the encryption is vulnerable to chosen-ciphertext/chosen-plaintext attacks: an attacker who can submit specific messages for encryption can recover the secret key. This affects all versions supporting Minecraft protocol 1.7 and later. No patched version is available, and no known workarounds are available.

(As written by CVE List.)

## Affected

- Bixilon Minosoft: >= f1ae30e2b046a490026a8413b075685deb795122

## References

- <https://github.com/Bixilon/Minosoft/security/advisories/GHSA-rvr6-48rj-c94j>
- <https://github.com/Bixilon/Minosoft/blob/3a608abe2d0999e4e702cc1b2d28366884c7f31e/src/main/java/de/bixilon/minosoft/protocol/protocol/encryption/CryptManager.kt#L72>

## Sources

- CVE List: [CVE-2024-56141](https://www.cve.org/CVERecord?id=CVE-2024-56141), CVE Terms of Use, modified 2026-07-08
- NVD: [CVE-2024-56141](https://nvd.nist.gov/vuln/detail/CVE-2024-56141), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2024-56141 · Whole record: https://cve.day/CVE-2024-56141.json · Rebuilt by cve.day 2026-11-25T22:58:53.040Z
