CVE catalog

CVE-2016-1000340

bouncycastle: CVE-2016-1000340

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.30% · Oct 25, 2026

In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.

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-2fixed
Ubuntubouncycastlepro1.49+dfsg-3ubuntu1vulnerable
Ubuntubouncycastlepro1.51-4ubuntu1vulnerable
Ubuntubouncycastlepro1.51-4ubuntu1+esm1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbouncycastlesourcesid1.56-1not yet assignedNot reportedNot reported
Debianbouncycastlesourceforky1.56-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcetrixie1.56-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcebookworm1.56-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · bookworm; dsa · bouncycastle · debian · 12

[Debian 13 (Trixie)]

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.56-1

      dsa · bouncycastle · debian · 13

Observed:

References