---
id: CVE-2026-81692
title: >-
  openssl_encrypt (pip: openssl-encrypt) versions 1.4.8 and earlier fail to
  validate the 36-bit STREAMINFO total_samples field of FLAC files before using
  it to size an allocation (np.random.randint(size=(total_samples, channels)))
summary: >-
  openssl_encrypt (pip: openssl-encrypt) versions 1.4.8 and earlier fail to
  validate the 36-bit STREAMINFO total_samples field of FLAC files before using
  it to size an allocation (np.random.randint(size=(total_samples, channels))).
  A ~50-b…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
published: '2026-08-27'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:42.677'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-81692'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-wr9q-p3rj-vqq7
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-denial-of-service-via-streaminfo
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00488
epssPercentile: 0.39407
ingestedAt: '2026-09-23T17:28:14.809Z'
---

## Overview

openssl_encrypt (pip: openssl-encrypt) versions 1.4.8 and earlier fail to validate the 36-bit STREAMINFO total_samples field of FLAC files before using it to size an allocation (np.random.randint(size=(total_samples, channels))). A ~50-byte crafted FLAC file declaring ~100 million samples causes a multi-gigabyte memory allocation, leading to out-of-memory denial of service during 'decrypt --stego-extract'. The issue is fixed in 1.4.9; both the 1.4.x and 1.5.x lines are affected.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
