Skip to content
Heist/ feed
Back to feed
Medium

bouncycastle — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-59652

In Bouncy Castle for Java before 1.85, LDAP filter injection in legacy jdk1.4 LDAPStoreHelper.

Products
bouncycastle
Affected versions
1.49+dfsg-3ubuntu1, 1.51-4ubuntu1, 1.51-4ubuntu1+esm1, 1.57-1, 1.58-1, 1.59-1, 1.59-1ubuntu0.1~esm1, 1.61-1, 1.61-1ubuntu0.1~esm1, 1.68-2, 1.68-4, 1.68-5, 1.68-5ubuntu0.1~esm1, 1.72-2, 1.77-1, 1.77-1ubuntu0.1~esm1, 1.80-3
Fixed versions
Not specified
CVEs
CVE-2026-59652
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-59652

core-osv · Original source

Published 3 Aug 2026, 01:16 UTC

In Bouncy Castle for Java before 1.85, LDAP filter injection in legacy jdk1.4 LDAPStoreHelper.

osv:UBUNTU-CVE-2026-59652

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

Complete source record
{
  "id": "a8b530ccae099127008e2cb36bc83dda6cca3fd4bd4a5906728f290ac91e8557",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-59652",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-59652",
    "summary": "In Bouncy Castle for Java before 1.85, LDAP filter injection in legacy jdk1.4 LDAPStoreHelper.",
    "evidence": "osv:UBUNTU-CVE-2026-59652",
    "products": [
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.49+dfsg-3ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.51-4ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.51-4ubuntu1+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.57-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.58-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.59-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.59-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.61-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.61-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.68-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-5ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.72-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.77-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.77-1ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.80-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.80-3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-59652",
      "aliases": [
        "UBUNTU-CVE-2026-59652"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.49+dfsg-3ubuntu1",
            "1.51-4ubuntu1",
            "1.51-4ubuntu1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.57-1",
            "1.58-1",
            "1.59-1",
            "1.59-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.61-1",
            "1.61-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1.68-2",
            "1.68-4",
            "1.68-5",
            "1.68-5ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.72-2",
            "1.77-1",
            "1.77-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.80-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.80-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.80-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59652.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.80-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:00.362266985Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-59652"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-59652",
        "https://www.cve.org/CVERecord?id=CVE-2026-59652",
        "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059652",
        "https://github.com/bcgit/bc-java/commit/27c468af54ee6c6af87eab5a3a8468dce17e24a0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-59652",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354525,
  "published_at": "2026-08-03T01:16:00+00:00"
}