CVE catalog

CVE-2016-9939

libcrypto++: CVE-2016-9939

[CVE catalog]

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

Crypto++ (aka cryptopp and libcrypto++) 5.6.4 contained a bug in its ASN.1 BER decoding routine. The library will allocate a memory block based on the length field of the ASN.1 object. If there is not enough content octets in the ASN.1 object, then the function will fail and the memory block will be zeroed even if its unused. There is a noticeable delay during the wipe for a large allocation.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlibcrypto++sid8.9.0-3fixed
Debianlibcrypto++forky8.9.0-3fixed
Debianlibcrypto++trixie8.9.0-2fixed
Debianlibcrypto++bookworm8.7.0+git220824-1fixed
Ubuntulibcrypto++14.045.6.1-6vulnerable
Ubuntulibcrypto++14.045.6.1-6+deb8u1build0.14.04.1vulnerable
Ubuntulibcrypto++14.045.6.1-6+deb8u3build0.14.04.1fixed
Ubuntulibcrypto++16.045.6.1-8vulnerable
Ubuntulibcrypto++16.045.6.1-9vulnerable
Ubuntulibcrypto++16.045.6.1-9ubuntu0.1fixed
Opensuselibcryptoppleap 15.35.6.5-1.6.1fixed
Suselibcryptopplinux enterprise module for basesystem 15 sp25.6.5-1.6.1fixed
Suselibcryptopplinux enterprise module for basesystem 15 sp35.6.5-1.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcrypto++sourcesid5.6.4-5not yet assignedNot reported[848009]
Debianlibcrypto++sourceforky5.6.4-5not yet assignedNot reported[848009]
Debianlibcrypto++sourcetrixie5.6.4-5not yet assignedNot reported[848009]
Debianlibcrypto++sourcebookworm5.6.4-5not yet assignedNot reported[848009]
Ubuntulibcrypto++deb14.045.6.1-6+deb8u3build0.14.04.1Not reportedUBUNTU-CVE-2016-9939Not reported
Ubuntulibcrypto++deb16.045.6.1-9ubuntu0.1Not reportedUBUNTU-CVE-2016-9939Not reported
Opensuselibcryptopprpmleap 15.35.6.5-1.6.1Not reportedOPENSUSE-SU-2021:3301-1Not reported
Suselibcryptopprpmlinux enterprise module for basesystem 15 sp25.6.5-1.6.1Not reportedSUSE-SU-2021:3301-1Not reported
Suselibcryptopprpmlinux enterprise module for basesystem 15 sp35.6.5-1.6.1Not reportedSUSE-SU-2021:3301-1Not reported

[Debian bug #848009]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libcrypto++]

    Details (2)
    • 8.7.0+git220824-1 · amd64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

    • 8.7.0+git220824-1 · arm64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

  • Source package: [libcrypto++]

    Details (2)
    • 8.7.0+git220824-1 · amd64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

    • 8.7.0+git220824-1 · arm64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

  • Source package: [libcrypto++]

    Details (2)
    • 8.7.0+git220824-1 · all · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

    • 8.7.0+git220824-1 · all · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

  • Source package: [libcrypto++]

    Details (2)
    • 8.7.0+git220824-1 · amd64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

    • 8.7.0+git220824-1 · arm64 · bookworm

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · bookworm; dsa · libcrypto++ · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libcrypto++]

    Details (2)
    • 8.9.0-2 · amd64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

    • 8.9.0-2 · arm64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

  • Source package: [libcrypto++]

    Details (2)
    • 8.9.0-2 · amd64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

    • 8.9.0-2 · arm64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

  • Source package: [libcrypto++]

    Details (2)
    • 8.9.0-2 · all · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

    • 8.9.0-2 · all · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

  • Source package: [libcrypto++]

    Details (2)
    • 8.9.0-2 · amd64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

    • 8.9.0-2 · arm64 · trixie

      Fixed · Fixed: 5.6.4-5

      dsa · libcrypto++ · debian · 13

Observed:

References