CVE-2016-0799: The fmtstr function in crypto/bio/b_print.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g improperly calculates string lengths,…

CVE-2016-0799 affects 15 listed versions of OpenSSL in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
32%EPSS (next 30 days)
3 March 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSL

15 of 117 listed versions are affected. No fixed release is named. The newest release, 4.1.1, is not affected.

1.0.2zt 1.0.2zs 1.0.2zr 1.0.2zq 1.0.2zp 1.0.2zn 1.0.2zm 1.0.2zl 1.0.2zk 1.0.2zj 1.0.2zi 1.0.2zh 1.0.2zg 1.0.2zf 1.0.2ze

What it is

The fmtstr function in crypto/bio/b_print.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g improperly calculates string lengths, which allows remote attackers to cause a denial of service (overflow and out-of-bounds read) or possibly have unspecified other impact via a long string, as demonstrated by a large amount of ASN.1 data, a different vulnerability than CVE-2016-2842.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Red Hat on 3 March 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2016-0799 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.