Description
openssl_encrypt versions before 1.4.0 contain an authentication bypass vulnerability in pqc.py where AES-GCM decryption failures trigger fallback to unauthenticated AES-CTR mode. Attackers can modify ciphertext in transit to bypass integrity verification and perform bit-flipping attacks without detection.
Published: 2026-08-17
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the authentication logic of the openssl_encrypt library before version 1.4.0, specifically in the pqc.py module. When a decryption failure occurs with AES‑GCM, the code falls back to an unauthenticated AES‑CTR mode. This allows any attacker able to modify ciphertext in transit to bypass integrity checks and perform bit‑flipping attacks on the decrypted data. The weakness is classified as CWE‑347, a type of authentication bypass that undermines confidentiality and integrity of encrypted communications.

Affected Systems

Applications that depend on the jahlives:openssl_encrypt PHP library and use it without specifying a newer version will be affected. The issue applies to all releases before 1.4.0 and to any PHP project that imports the library for encryption or decryption operations. System administrators should review PHP code bases that include this package and verify the installed version.

Risk and Exploitability

The CVSS score of 9.3 indicates a critical severity. No EPSS value is available, but the absence of a known KEV listing does not diminish the risk. Attackers can exploit the flaw by intercepting or tampering with ciphertext exchanged over an insecure channel, triggering the fallback and enabling undetected data manipulation. The exploitation path is straightforward: alter ciphertext, cause AES‑GCM failure, accept the unauthenticated AES‑CTR result.

Generated by OpenCVE AI on August 17, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or newer to eliminate the fallback behavior
  • Ensure that the application code does not enable or rely on AES‑CTR fallback mode and that only authenticated encryption modes are used
  • Re‑encrypt existing data with a supported authenticated mode or re‑process encrypted data after confirming integrity, and replace any legacy ciphertext that may have been susceptible to the flaw

Generated by OpenCVE AI on August 17, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description openssl_encrypt versions before 1.4.0 contain an authentication bypass vulnerability in pqc.py where AES-GCM decryption failures trigger fallback to unauthenticated AES-CTR mode. Attackers can modify ciphertext in transit to bypass integrity verification and perform bit-flipping attacks without detection.
Title openssl_encrypt before 1.4.0 Authentication Bypass via AES-CTR Fallback
Weaknesses CWE-347
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T11:04:59.916Z

Reserved: 2026-08-17T10:48:45.738Z

Link: CVE-2026-74901

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T11:16:45.183

Modified: 2026-08-17T11:16:45.183

Link: CVE-2026-74901

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T13:00:13Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature