Description
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.
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 | openssl | 1.0.2g-1 | — |
| Debian 13 | openssl | 1.0.2g-1 | — |
| Debian 12 | openssl | 1.0.2g-1 | — |
| Debian 8 | openssl | 1.0.1k-3+deb8u4 | DSA-3500-1 |
| Debian 7 | openssl | 1.0.1e-2+deb7u20 | DSA-3500-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | openssl | 1.0.2g-1ubuntu2 | — |
| Ubuntu 14.04 LTS | openssl | 1.0.1f-1ubuntu2.18 | USN-2914-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | openssl +4 | 1:1.0.1e-51.el7_2.5 | RHSA-2016:0722 |
| RHEL 6 | openssl +3 | 1.0.1e-48.el6_8.1 | RHSA-2016:0996 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6.7 EUS | openssl +3 | 1.0.1e-42.el6_7.5 | RHSA-2016:2073 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | compat-openssl098 | 0.9.8j-94.1 | SUSE-SU-2016:0641-1 |
| SLES 12 SP1 | openssl | 1.0.1i-44.1 | SUSE-SU-2016:0620-1 |
| SLES 12 | compat-openssl098 | 0.9.8j-94.1 | SUSE-SU-2016:0641-1 |
| SLES 12 | openssl | 1.0.1i-27.13.1 | SUSE-SU-2016:0617-1 |
| SLES 11 SP4 | compat-openssl097g | 0.9.7g-146.22.41.1 | SUSE-SU-2016:0631-1 |
| SLES 11 SP4 | openssl | 0.9.8j-0.89.1 | SUSE-SU-2016:0624-1 |
| SLES 11 SP3 | openssl | 0.9.8j-0.89.1 | SUSE-SU-2016:0624-1 |
| SLES 11 SP2 | openssl | 0.9.8j-0.89.1 | SUSE-SU-2016:0624-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 | openssl1 | 1.0.1g-0.40.1 | SUSE-SU-2016:0621-1 |
| SUSE Studio Onsite 1.3 | openssl | 0.9.8j-0.89.1 | SUSE-SU-2016:0624-1 |
| SLES for SAP 12 SP1 | compat-openssl098 | 0.9.8j-94.1 | SUSE-SU-2016:0641-1 |
| SLES for SAP 12 SP1 | openssl | 1.0.1i-44.1 | SUSE-SU-2016:0620-1 |
| SLES for SAP 12 | openssl | 1.0.1i-27.13.1 | SUSE-SU-2016:0617-1 |
| SLES for SAP 11 SP4 | compat-openssl097g | 0.9.7g-146.22.41.1 | SUSE-SU-2016:0631-1 |
| SLES for SAP 11 SP4 | openssl | 0.9.8j-0.89.1 | SUSE-SU-2016:0624-1 |
| SUSE OpenStack Cloud 5 | openssl | 0.9.8j-0.91.1 | SUSE-SU-2016:1057-1 |
| SUSE Manager Proxy 2.1 | openssl | 0.9.8j-0.91.1 | SUSE-SU-2016:1057-1 |
| SUSE Manager 2.1 | openssl | 0.9.8j-0.91.1 | SUSE-SU-2016:1057-1 |
Advisories 17
- RHSA-2016:2073 Red Hat Security Advisory: openssl security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2016:0722 Red Hat Security Advisory: openssl security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2016:0996 Red Hat Security Advisory: openssl security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- USN-2914-1 openssl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3500-1 openssl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0621-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0641-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1057-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0617-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0620-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0624-1 Security update for openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0427 OpenSSL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2025
- WID-SEC-2025-1459 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 3, 2025
- SUSE-SU-2016:0631-1 Security update for compat-openssl097g SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-1956 Veritas NetBackup: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 3, 2023
- ICSA-22-349-21 Siemens SCALANCE X-200RNA Switch Devices CISA ICS & IT advisories · Dec 13, 2022
- SSA-412672 SSA-412672: Multiple OpenSSL and OpenSSH Vulnerabilities in SCALANCE X-200RNA Switch Devices before V3.2.7 Siemens ProductCERT · Dec 13, 2022
References
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- 83755 vdb-entry
- FEDORA-2016-2802690366 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05131085
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157667
- RHSA-2016:2073 vendor-advisory
- FEDORA-2016-e6807b3394 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- HPSBMU03575 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05111017
- openSUSE-SU-2016:0638 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
- FreeBSD-SA-16:12 vendor-advisory
- openSUSE-SU-2016:1239 vendor-advisory
- SUSE-SU-2016:0621 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150888
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05135617
- openSUSE-SU-2016:0640 vendor-advisory
- HPSBGN03569 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- USN-2914-1 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150736
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- SUSE-SU-2016:1057 vendor-advisory
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40168
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05126404
- openSUSE-SU-2016:1241 vendor-advisory
- http://openssl.org/news/secadv/20160301.txt
- 20160302 Multiple Vulnerabilities in OpenSSL Affecting Cisco Products: March 2016 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05086877
- openSUSE-SU-2016:0720 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- SUSE-SU-2016:0624 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05141441
- DSA-3500 vendor-advisory
- RHSA-2016:0996 vendor-advisory
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03741en_us
- SUSE-SU-2016:0631 vendor-advisory
- https://www.openssl.org/news/secadv/20160301.txt
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- 91787 vdb-entry
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=578b956fe741bf8e84055547b1e83c28dd902c73
- SUSE-SU-2016:0617 vendor-advisory
- RHSA-2016:2957 vendor-advisory
- GLSA-201603-15 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05068681
- openSUSE-SU-2016:0628 vendor-advisory
- 1035133 vdb-entry
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150800
- RHSA-2016:0722 vendor-advisory
- SUSE-SU-2016:0678 vendor-advisory
- SUSE-SU-2016:0620 vendor-advisory
- openSUSE-SU-2016:0637 vendor-advisory
- SUSE-SU-2016:0641 vendor-advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf