CVE catalog

CVE-2024-14041

In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted mess

[CVE catalog]

Severity
High · CVSS 8.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Published
Source
[NVD] · [CVE record]
EPSS
0.46% · Oct 25, 2026

In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted message, and the ciphertext compression routines Poly.compressPoly and PolyVec.compressPolyVec. An attacker able to measure the timing of a large number of decapsulations performed with the same long-term private key can recover that key. These are the KyberSlash1 (Poly.toMsg) and KyberSlash2 (ciphertext compression) divisions. Compression performed during encapsulation operates on values that become the public ciphertext and is not affected.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbouncycastlesid1.86.2-1fixed
Debianbouncycastleforky1.86-1fixed
Debianbouncycastletrixie1.80-3fixed
Debianbouncycastlebookworm1.72-2vulnerable
Cpebc-javaNot reported1.78fixed
Ubuntubouncycastlepro1.72-2vulnerable
Ubuntubouncycastlepro1.77-1vulnerable
Ubuntubouncycastlepro1.77-1ubuntu0.1~esm1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbouncycastlesourcesid1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourceforky1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcetrixie1.80-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpebc-javacpeNot reported1.78Not reportedNVD-CVE-2024-14041Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libbcjmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcpg-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcpkix-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcprov-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbctls-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcutil-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

[Debian 13 (Trixie)]

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

  • Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      nvd · bouncycastle · debian · 13

Observed:

References