cve.bz

CVE-2016-9939 Improper Input Validation

7.5 highEPSS 4.2%Fix available

High (7.5). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.2% (unchanged from 4.2% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9939 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9939?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9939?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9939 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cryptopp:crypto++5.6.4
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7libcrypto++5.6.1-6+deb7u3DLA-766-1
Debian8libcrypto++5.6.1-6+deb8u3DSA-3748-1
Debian12, 13, 14libcrypto++5.6.4-5DEBIAN-CVE-2016-9939
Ubuntu14.04:LTSlibcrypto++5.6.1-6+deb8u3build0.14.04.1UBUNTU-CVE-2016-9939
Ubuntu16.04:LTSlibcrypto++5.6.1-9ubuntu0.1UBUNTU-CVE-2016-9939
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3libcryptopp5.6.5-1.6.1SUSE-SU-2021:3301-1
openSUSELeap 15.3libcryptopp5.6.5-1.6.1openSUSE-SU-2021:3301-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON