CVE catalog

CVE-2024-39312

Botan vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianbotantrixie2.19.5+dfsg-4fixed
Debianbotanbookworm2.19.3+dfsg-1+deb12u1fixed
Ubuntubotannoble2.19.3+dfsg-1ubuntu2+esm1fixed
Ubuntulibbotan-2-19noble2.19.3+dfsg-1ubuntu2+esm1fixed
Ubuntulibbotan-2-devnoble2.19.3+dfsg-1ubuntu2+esm1fixed
Ubuntulibbotan-2-docnoble2.19.3+dfsg-1ubuntu2+esm1fixed
Ubuntupython3-botannoble2.19.3+dfsg-1ubuntu2+esm1fixed
Alpinebotan3.172.19.5-r0fixed
Alpinebotan3.182.19.5-r0fixed
Alpinebotan3.192.19.5-r0fixed
Alpinebotan3.202.19.5-r0fixed
Alpinebotan3.212.19.5-r0fixed
Alpinebotan33.213.5.0-r0fixed
Alpinebotan33.223.5.0-r0fixed
Alpinebotan33.233.5.0-r0fixed
Alpinebotan33.243.5.0-r0fixed
Ubuntubotan18.042.4.0-3vulnerable
Ubuntubotan18.042.4.0-4vulnerable
Ubuntubotan18.042.4.0-5ubuntu1vulnerable
Ubuntubotan20.042.9.0-2vulnerable
Ubuntubotan20.042.9.0-2build1vulnerable
Ubuntubotan20.042.12.1-2vulnerable
Ubuntubotan20.042.12.1-2build1vulnerable
Ubuntubotanpro2.19.3+dfsg-1ubuntu1vulnerable
Ubuntubotanpro2.19.3+dfsg-1ubuntu2vulnerable
Ubuntubotanpro2.19.3+dfsg-1ubuntu2+esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbotansourcetrixie2.19.5+dfsg-1not yet assignedNot reportedNot reported
Debianbotansourcebookworm2.19.3+dfsg-1+deb12u1not yet assignedNot reportedNot reported
Ubuntubotandebnoble2.19.3+dfsg-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbotan-2-19debnoble2.19.3+dfsg-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbotan-2-devdebnoble2.19.3+dfsg-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbotan-2-docdebnoble2.19.3+dfsg-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntupython3-botandebnoble2.19.3+dfsg-1ubuntu2+esm1Not reportedNot reportedNot reported
Alpinebotanapk3.172.19.5-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotanapk3.182.19.5-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotanapk3.192.19.5-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotanapk3.202.19.5-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotanapk3.212.19.5-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotan3apk3.213.5.0-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotan3apk3.223.5.0-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotan3apk3.233.5.0-r0Not reportedALPINE-CVE-2024-39312Not reported
Alpinebotan3apk3.243.5.0-r0Not reportedALPINE-CVE-2024-39312Not reported
Ubuntubotandebpro2.19.3+dfsg-1ubuntu2+esm1Not reportedUBUNTU-CVE-2024-39312Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

  • [libbotan-2-19]Unknown

    Source package: [botan]

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

  • Source package: [botan]

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

  • Source package: [botan]

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

  • [python3-botan]Unknown

    Source package: [botan]

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

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

      Fixed · Fixed: 2.19.3+dfsg-1+deb12u1

      usn · botan · debian · bookworm; usn · botan · debian · 12

[Debian 13 (Trixie)]

  • [botan]Unknown

    Source package: [botan3]

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

  • [libbotan-2-19]Unknown

    Source package: [botan]

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

  • Source package: [botan]

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

  • Source package: [botan]

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

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

    • 2.19.5+dfsg-4 · all · trixie

      Fixed · Fixed: 2.19.5+dfsg-1

      usn · botan · debian · 13

Observed:

References