CVE catalog

CVE-2026-118765

botan affected and fixed versions

[CVE catalog]

Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself seeded without consulting the configured entropy source. On builds without BOTAN_HAS_SYSTEM_RNG, the fallback uses only a clock value and process ID, so a later non-empty request can produce output from predictable state. This issue is fixed in version 3.13.0.

Severity
Medium · CVSS 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Nov 19, 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.

Distribution / releasePackageVersionStatusSource
DebiantrixiebotanNot reportedAffectedDistribution reports no fix[CVE-2026-118765]
Debiantrixiebotan2.19.5+dfsg-4Affected[CVE-2026-118765]
Ubuntuprobotan2.19.3+dfsg-1ubuntu1Affected[UBUNTU-CVE-2026-118765]
Ubuntuprobotan2.19.3+dfsg-1ubuntu2Affected[UBUNTU-CVE-2026-118765]
Ubuntuprobotan2.19.3+dfsg-1ubuntu2+esm1Affected[UBUNTU-CVE-2026-118765]
DebianbookwormbotanNot reportedAffectedDistribution reports no fix[CVE-2026-118765]
Debianbookwormbotan2.19.3+dfsg-1+deb12u1Affected[CVE-2026-118765]
Ubuntu20.04botan2.12.1-2Affected[UBUNTU-CVE-2026-118765]
Ubuntu20.04botan2.12.1-2build1Affected[UBUNTU-CVE-2026-118765]
Ubuntu20.04botan2.9.0-2Affected[UBUNTU-CVE-2026-118765]
Ubuntu20.04botan2.9.0-2build1Affected[UBUNTU-CVE-2026-118765]
Ubuntu18.04botan2.4.0-3Affected[UBUNTU-CVE-2026-118765]
More observations (2)
Distribution / releasePackageVersionStatusSource
Ubuntu18.04botan2.4.0-4Affected[UBUNTU-CVE-2026-118765]
Ubuntu18.04botan2.4.0-5ubuntu1Affected[UBUNTU-CVE-2026-118765]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [botan]Affected
    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

  • [libbotan-2-19]Affected

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

  • [libbotan-2-dev]Affected

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

  • [libbotan-2-doc]Affected

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · all · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · all · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

  • [python3-botan]Affected

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · botan · debian · bookworm; pypi · botan · debian · 12

[Debian 13 (Trixie)]

  • [botan]Affected

    Source package: [botan3]

    Details (4)
    • 3.7.1+dfsg-2 · amd64 · trixie

      Affected

      pypi · botan · debian · 13; pypi · botan3 · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Affected

      pypi · botan · debian · 13; pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · amd64 · trixie-security

      Affected

      pypi · botan · debian · 13; pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · arm64 · trixie-security

      Affected

      pypi · botan · debian · 13; pypi · botan3 · debian · 13

  • [libbotan-2-19]Affected

    Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · amd64 · trixie

      Affected

      pypi · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Affected

      pypi · botan · debian · 13

  • [libbotan-2-dev]Affected

    Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · amd64 · trixie

      Affected

      pypi · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Affected

      pypi · botan · debian · 13

  • [libbotan-2-doc]Affected

    Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · all · trixie

      Affected

      pypi · botan · debian · 13

    • 2.19.5+dfsg-4 · all · trixie

      Affected

      pypi · botan · debian · 13

  • [libbotan-3-12]Affected

    Source package: [botan3]

    Details (2)
    • 3.12.0+dfsg-2~deb13u1 · amd64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · arm64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

  • [libbotan-3-7]Affected

    Source package: [botan3]

    Details (2)
    • 3.7.1+dfsg-2 · amd64 · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Affected

      pypi · botan3 · debian · 13

  • [libbotan-3-dev]Affected

    Source package: [botan3]

    Details (4)
    • 3.7.1+dfsg-2 · amd64 · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · amd64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · arm64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

  • [libbotan-3-doc]Affected

    Source package: [botan3]

    Details (4)
    • 3.7.1+dfsg-2 · all · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.7.1+dfsg-2 · all · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · all · trixie-security

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · all · trixie-security

      Affected

      pypi · botan3 · debian · 13

  • [python3-botan]Affected

    Source package: [botan3]

    Details (4)
    • 3.7.1+dfsg-2 · amd64 · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · amd64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · arm64 · trixie-security

      Affected

      pypi · botan3 · debian · 13

Observed:

References