You can now sign in with a passkey, no password needed, or protect your account with a second factor. Learn more
OpenSSL: Heap Buffer Over-read in ASN.1 Content Parsing
Download as CSAF file (VEX, JSON)Machine-readable version of this assessment in the OASIS CSAF 2.0 standard, for example for your vulnerability scanner. You may pass the file on.
Issue summary: Parsing a crafted DER-encoded ASN.1 structure with a primitive element whose content exceeds 2 gigabytes in length may cause a heap buffer over-read on 64-bit Unix and Unix-like platforms. Impact summary: The heap buffer over-read may crash the application (Denial of Service) or to load into the decoded ASN.1 object contents of memory beyond the end of the input buffer. More typically such ASN.1 elements would instead be truncated. An integer truncation in OpenSSL's ASN.1 decoder causes the content length of an ASN.1 primitive element to be mishandled when it exceeds 2 gigabytes. In the worst case the truncated length is treated as a request to scan the binary content for a terminating zero byte, possibly causing OpenSSL to read either less than or beyond the end of the allocated buffer. Applications that pass attacker-supplied data to d2i_X509(), d2i_PKCS7(), or any other d2i_* decoding function are affected. OpenSSL's own command-line tools are not vulnerable, as data read through the BIO layer is checked before it reaches the affected code. The issue only affects 64-bit Unix and Unix-like platforms; 32-bit platforms and 64-bit Windows are not affected. The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
The newest version of each supported line. Older versions are under “All versions”.
| Version | Status | Fixed from |
|---|---|---|
| EventReporter 26.11Current | Fixed | 26.10 |
| EventReporter 19.4aExtended maintenance | Fixed | 19.4a |
| MonitorWare Agent 26.11Current | Fixed | 26.10 |
| MonitorWare Agent 15.4aExtended maintenance | Fixed | 15.4a |
| rsyslog Windows Agent 26.11Current | Fixed | 26.10 |
| rsyslog Windows Agent 8.4aExtended maintenance | Fixed | 8.4a |
| WinSyslog 26.11Current | Fixed | 26.10 |
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 19.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 19.4a ship OpenSSL 3.2.1, which is affected; fixed from 19.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 18.3 ship OpenSSL 1.1.1g, 18.3 and later ship OpenSSL 1.1.1q; both are affected. Line 18 is end of life; please update to a supported version (19.4a or 26.11).
| WinSyslog 18.4aExtended maintenance |
|---|
| Fixed |
| 18.4a |
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 18.3, 1.1.1q from 18.3
Releases before 17.2 ship OpenSSL 1.0.2k, 17.2 and later ship OpenSSL 1.0.2u; both are affected. Line 17 is end of life; please update to a supported version (19.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 17.2, 1.0.2u from 17.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 15.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 15.4a ship OpenSSL 3.2.1, which is affected; fixed from 15.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 14.3 ship OpenSSL 1.1.1g, 14.3 and later ship OpenSSL 1.1.1q; both are affected. Line 14 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 14.3, 1.1.1q from 14.3
Releases before 13.2 ship OpenSSL 1.0.2k, 13.2 and later ship OpenSSL 1.0.2u; both are affected. Line 13 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 13.2, 1.0.2u from 13.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 8.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 8.4a ship OpenSSL 3.2.1, which is affected; fixed from 8.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 7.3 ship OpenSSL 1.1.1g, 7.3 and later ship OpenSSL 1.1.1q; both are affected. Line 7 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 7.3, 1.1.1q from 7.3
Releases before 6.2 ship OpenSSL 1.0.2k, 6.2 and later ship OpenSSL 1.0.2u; both are affected. Line 6 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 6.2, 1.0.2u from 6.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 18.4a
Fixed by OpenSSL 1.0.2e, 3.2.1 → 1.0.2e, 3.5.9
Releases before 18.4a ship OpenSSL 3.2.1, which is affected; fixed from 18.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 17.3 ship OpenSSL 1.1.1g, 17.3 and later ship OpenSSL 1.1.1q; both are affected. Line 17 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 17.3, 1.1.1q from 17.3
Releases before 16.2 ship OpenSSL 1.0.2k, 16.2 and later ship OpenSSL 1.0.2u; both are affected. Line 16 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 16.2, 1.0.2u from 16.2
Products and versions not listed here have not been checked.