Description
Crypto++ (aka cryptopp) through 5.6.4 does not document the requirement for a compile-time NDEBUG definition disabling the many assert calls that are unintended in production use, which might allow context-dependent attackers to obtain sensitive information by leveraging access to process memory after an assertion failure, as demonstrated by reading a core dump.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcrypto++ | No fix yet | — |
| Debian 13 | libcrypto++ | No fix yet | — |
| Debian 12 | libcrypto++ | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libcrypto++ | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libcrypto++ | No fix yet | — |
References
- https://github.com/weidai11/cryptopp/commit/553049ba297d89d9e8fbf2204acb40a8a53f5cd6
- 92988 vdb-entry
- [oss-security] 20160915 Re: Does a documentation bug elevate to CVE status? - Crypto++ mailing-list
- https://github.com/weidai11/cryptopp/issues/277
- [oss-security] 20160915 Re: Does a documentation bug elevate to CVE status? - Crypto++ mailing-list
- [oss-security] 20230928 Re: CVE-2023-4863: libwebp: Heap buffer overflow in WebP Codec mailing-list
- [oss-security] 20230928 Re: CVE-2023-4863: libwebp: Heap buffer overflow in WebP Codec mailing-list