UBUNTU-CVE-2016-9939

Source
https://ubuntu.com/security/CVE-2016-9939
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9939.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2016-9939
Upstream
Published
2017-01-30T21:59:00Z
Modified
2025-09-08T16:43:57Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:14.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.1-6+deb8u3build0.14.04.1?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.6.1-6+deb8u3build0.14.04.1

Affected versions

5.*

5.6.1-6
5.6.1-6+deb8u1build0.14.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "5.6.1-6+deb8u3build0.14.04.1",
            "binary_name": "libcrypto++-dev"
        },
        {
            "binary_version": "5.6.1-6+deb8u3build0.14.04.1",
            "binary_name": "libcrypto++-utils"
        },
        {
            "binary_version": "5.6.1-6+deb8u3build0.14.04.1",
            "binary_name": "libcrypto++9"
        }
    ]
}

Ubuntu:16.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.1-9ubuntu0.1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.6.1-9ubuntu0.1

Affected versions

5.*

5.6.1-8
5.6.1-9

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "5.6.1-9ubuntu0.1",
            "binary_name": "libcrypto++-dev"
        },
        {
            "binary_version": "5.6.1-9ubuntu0.1",
            "binary_name": "libcrypto++-utils"
        },
        {
            "binary_version": "5.6.1-9ubuntu0.1",
            "binary_name": "libcrypto++9v5"
        }
    ]
}