CVE catalog

CVE-2024-30171

Bouncy Castle vulnerabilities

[CVE catalog]

An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.90% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "bouncycastle",
      "status": "fixed",
      "release": "sid",
      "version": "1.86.2-1"
    },
    {
      "name": "bouncycastle",
      "status": "fixed",
      "release": "forky",
      "version": "1.86-1"
    },
    {
      "name": "bouncycastle",
      "status": "fixed",
      "release": "trixie",
      "version": "1.80-3"
    },
    {
      "name": "bouncycastle",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1.72-2"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1070655,
      "name": "bouncycastle",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.80-1"
    },
    {
      "bug": 1070655,
      "name": "bouncycastle",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.80-1"
    },
    {
      "bug": 1070655,
      "name": "bouncycastle",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.80-1"
    },
    {
      "bug": 1070655,
      "name": "bouncycastle",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "bouncycastle",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "not yet fixed"
    },
    {
      "name": "bouncycastle",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcjmail-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcmail-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcpg-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcpkix-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcprov-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbctls-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "libbcutil-java",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1"
    },
    {
      "name": "bouncycastle",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.77-1ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.72-2",
        "1.77-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.77-1ubuntu0.1~esm1",
      "provider_record_id": "UBUNTU-CVE-2024-30171"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise module for development tools 15 sp6",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-2"
    },
    {
      "name": "bouncycastle",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "leap 15.6",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-2"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise module for development tools 15 sp5",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high performance computing 15 sp2-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high performance computing 15 sp3-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high performance computing 15 sp4-espos",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high performance computing 15 sp4-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server 15 sp2-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server 15 sp3-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server 15 sp4-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server for sap applications 15 sp2",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server for sap applications 15 sp3",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server for sap applications 15 sp4",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "enterprise storage 7.1",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    },
    {
      "name": "bouncycastle",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.78.1-150200.3.29.1"
            }
          ]
        }
      ],
      "release": "leap 15.5",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.78.1-150200.3.29.1",
      "provider_record_id": "SUSE-SU-2024:1539-1"
    }
  ]
}

[Debian bug #1070655]

Publisher notes

[bookworm] bouncycastle: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • [libbcpg-java]Unknown

    Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • [libbctls-java]Unknown

    Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

  • Source package: [bouncycastle]

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

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      usn · bouncycastle · debian · bookworm; usn · bouncycastle · debian · 12

[Debian 13 (Trixie)]

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • [libbcpg-java]Unknown

    Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • [libbctls-java]Unknown

    Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

  • Source package: [bouncycastle]

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

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Fixed · Fixed: 1.80-1

      usn · bouncycastle · debian · 13

Observed:

References