Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain in-transit position on ciphertext
-
DeliveryCapture authenticated AES-GCM message
-
ExploitFlip targeted ciphertext bits
-
ExecutionGCM auth fails, falls back to AES-CTR
-
PersistManipulated plaintext accepted as valid
-
ImpactMessage/token integrity forged
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires that the attacker can modify ciphertext before it is decrypted by openssl_encrypt (an active man-in-the-middle position on the channel, or write access to stored/forwarded ciphertext) and that the target runs a version before 1.4.0 exercising the pqc.py decryption path where the AES-GCM-to-AES-CTR fallback is reachable. What limits exploitation: the attacker must intercept and alter data in transit rather than merely send traffic, so an authenticated/encrypted transport (e.g., TLS) or integrity-checked storage in front of the library blocks the tampering; the flaw is confined to this library's GCM-then-CTR decryption behavior rather than any generic OpenSSL usage. Authentication is not required (CVSS PR:N). |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H/VA:H, score 9.3) rates this critical with a network vector and no privileges or user interaction. That impact set is optimistic: the realistic core impact is on integrity (undetected message tampering), while the vulnerability itself does not directly break confidentiality of the key or grant availability impact - the CTR fallback still keeps data encrypted, it just stops rejecting forgeries. A crucial practical prerequisite not reflected in AV:N alone is that the attacker must be positioned to modify ciphertext in transit (active MITM or write access to stored ciphertext); this constrains 'network' exploitation. There is no CISA KEV listing (not actively exploited per available data) and no POC referenced, so this is a serious cryptographic weakness rather than a mass-exploited threat. EPSS and SSVC data were not provided. Overall: a genuine high-severity integrity flaw whose real-world reach is bounded by the library's small footprint and the need for an active tampering position. |
| Exploit ScenarioDerived | An application uses openssl_encrypt to protect a session token or message that transits an attacker-observable channel. The attacker intercepts the ciphertext, flips targeted bits (e.g., to alter an authorization claim), and forwards it; the vulnerable library's AES-GCM check fails but it falls back to AES-CTR and returns the manipulated plaintext as if valid. No public POC is referenced, and success requires an active in-transit modification position. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Authentication bypass in the openssl_encrypt Python library (versions before 1.4.0) lets attackers who can tamper with ciphertext in transit defeat integrity protection, because a failed AES-GCM authenticated decryption in pqc.py silently falls back to unauthenticated AES-CTR. Reported by VulnCheck and carrying a CVSS 4.0 base score of 9.3, the flaw enables undetected bit-flipping and ciphertext manipulation. No public exploit identified at time of analysis, but a vendor patch is available.
RemediationAI
Vendor-released patch: 1.4.0 - upgrade openssl_encrypt to version 1.4.0 or later, which removes the insecure AES-CTR fallback so that AES-GCM authentication failures abort decryption instead of silently downgrading. Consult the vendor advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-w4j7-wfgw-r52w and the VulnCheck writeup at https://www.vulncheck.com/advisories/openssl-encrypt-before-authentication-bypass-via-aes-ctr-fallback. If immediate upgrade is not possible, treat any data decrypted by vulnerable versions as potentially tampered, and protect ciphertext in transit with an authenticated transport such as TLS to deny attackers a modification position (trade-off: does not fix the underlying fallback, only removes the network tampering path); where feasible, wrap or verify messages with an independent HMAC/signature before feeding them to the library so a forged message is rejected upstream (trade-off: requires application changes and correct key management).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openssl_encrypt is a Python encryption utility/library authored by 'jahlives' (CPE cpe:2.3:a:jahlives:openssl_encrypt). The vulnerable code path is in pqc.py, the module handling post-quantum/hybrid cryptographic operations. Normally AES-GCM provides authenticated encryption (AEAD), so any tampering with the ciphertext or authentication tag causes decryption to fail. The defect is that when AES-GCM authentication fails, the code does not abort - it falls back to AES-CTR, a confidentiality-only mode with no integrity/authentication guarantee. This maps to CWE-347 (Improper Verification of Cryptographic Signature), here the cryptographic integrity tag: modified ciphertext is accepted and decrypted rather than rejected. Because CTR is a stream cipher (keystream XORed with plaintext), an attacker who flips bits in the ciphertext flips the corresponding plaintext bits predictably, enabling targeted message manipulation without detection. The 'Jwt Attack' tag suggests this fallback is relevant where the library protects JWT-style tokens whose integrity must not be forgeable.
Know when Jwt Attack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network delivery but requires an active in-transit tampering position (AC:H); core impact is undetected integrity forgery (I:H) with only incidental confidentiality (C:L) and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
The openssl_encrypt Python library (versions before 1.4.0) contains a critical authentication bypass vulnerability that allows attackers to manipulate encrypted data in transit without detection by defeating integrity protection mechanisms. Organizations using this library face undetected tampering risks that could compromise sensitive data across production systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Authentication bypass in Circutor PowerStudio SCADA WAVE desktop lets remote unauthenticated attackers impersonate anoth
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
EUVD-2026-60118
GHSA-jw8h-gwjw-g7rc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB