cve.bz

CVE-2016-0799

9.8 criticalEPSS 32%

Critical (9.8). EPSS 32% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
32% (unchanged from 32% a week ago; 32% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-0799 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-0799?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-0799?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-0799 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
openssl:openssl1.0.1
openssl:openssl1.0.1:beta1
openssl:openssl1.0.1:beta2
openssl:openssl1.0.1:beta3
openssl:openssl1.0.1a
openssl:openssl1.0.1b
openssl:openssl1.0.1c
openssl:openssl1.0.1d
openssl:openssl1.0.1e
openssl:openssl1.0.1f
openssl:openssl1.0.1g
openssl:openssl1.0.1h
openssl:openssl1.0.1i
openssl:openssl1.0.1j
openssl:openssl1.0.1k
openssl:openssl1.0.1l
openssl:openssl1.0.1m
openssl:openssl1.0.1n
openssl:openssl1.0.1o
openssl:openssl1.0.1p
openssl:openssl1.0.1q
openssl:openssl1.0.1r
openssl:openssl1.0.2
openssl:openssl1.0.2:beta1
openssl:openssl1.0.2:beta2
openssl:openssl1.0.2:beta3
openssl:openssl1.0.2a
openssl:openssl1.0.2b
openssl:openssl1.0.2c
openssl:openssl1.0.2d
openssl:openssl1.0.2e
openssl:openssl1.0.2f

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7openssl1.0.1e-2+deb7u20DSA-3500-1
Debian8openssl1.0.1k-3+deb8u4DSA-3500-1
Debian12, 13, 14openssl1.0.2g-1DEBIAN-CVE-2016-0799
Ubuntu14.04:LTSopenssl1.0.1f-1ubuntu2.18UBUNTU-CVE-2016-0799 USN-2914-1
Ubuntu16.04:LTSopenssl1.0.2g-1ubuntu2UBUNTU-CVE-2016-0799
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreopenssl, openssl-perl, openssl-devel and 2 more0:1.0.1e-48.el6_8.1RHSA-2016:0996
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenssl, openssl-libs, openssl-perl and 3 more1:1.0.1e-51.el7_2.5RHSA-2016:0722
Red Hatrhel_eus:6.7::computenode, rhel_eus:6.7::serveropenssl, openssl-perl, openssl-devel and 2 more0:1.0.1e-42.el6_7.5RHSA-2016:2073
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server 11 SP2-LTSS, Linux Enterprise Server 11 SP3-LTSS and 5 moreopenssl0.9.8j-0.89.1SUSE-SU-2016:0624-1
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4compat-openssl097g0.9.7g-146.22.41.1SUSE-SU-2016:0631-1
SUSELinux Enterprise Desktop 12, Linux Enterprise Desktop 12 SP1, Linux Enterprise Module for Legacy 12 and 1 morecompat-openssl0980.9.8j-94.1SUSE-SU-2016:0641-1
SUSELinux Enterprise Desktop 12, Linux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12 and 1 moreopenssl1.0.1i-27.13.1SUSE-SU-2016:0617-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 1 moreopenssl1.0.1i-44.1SUSE-SU-2016:0620-1
SUSELinux Enterprise Server 11-SECURITYopenssl11.0.1g-0.40.1SUSE-SU-2016:0621-1
SUSEManager 2.1, Manager Proxy 2.1, OpenStack Cloud 5openssl0.9.8j-0.91.1SUSE-SU-2016:1057-1

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

Red Hat

Red Hat rates this Low.

Red Hat's statement

The original issue fixed by OpenSSL upstream contains two distinct fixes. The first one is a format string flaw in the internal fmtstr functions, which may result in a OOB read flaw when printing very large string. This issue was assigned CVE-2016-0799

The second issue relates to the internal doapr_outch function of OpenSSL. It can result in an OOB write, or cause memory leaks. This issue has been assigned CVE-2016-2842 by MITRE as is now tracked as https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2842

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6openssl-0:1.0.1e-48.el6_8.1Fixed 2016-05-10RHSA-2016:0996
Red Hat Enterprise Linux 6.7 Extended Update Supportopenssl-0:1.0.1e-42.el6_7.5Fixed 2016-10-18RHSA-2016:2073
Red Hat Enterprise Linux 7openssl-1:1.0.1e-51.el7_2.5Fixed 2016-05-09RHSA-2016:0722
Red Hat JBoss Core ServicesFixed 2016-12-15RHSA-2016:2957
Red Hat Enterprise Linux 5opensslWill not fix
Red Hat Enterprise Linux 5openssl097aWill not fix
Red Hat Enterprise Linux 6openssl098eWill not fix
Red Hat Enterprise Linux 7openssl098eWill not fix
Red Hat Enterprise Virtualization 3rhev-hypervisorUnder investigation
Red Hat JBoss Core ServicesopensslAffected
Red Hat JBoss Enterprise Web Server 1opensslWill not fix
Red Hat JBoss Enterprise Web Server 2opensslWill not fix
Red Hat JBoss Enterprise Web Server 3opensslFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-0799.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-349-21Siemens SCALANCE X-200RNA Switch Devices2022-12-13MultipleSCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2), SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2), SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

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-119 (12).

References

Check your stackJSON