CVE-2023-26154
pubnub Insufficient Entropy vulnerability
Published Dec 6, 2023 · corrected/updated Jul 7, 2026 · evidence confidence high
Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; all versions of the package github.com/pubnub/go; versions of the package github.com/pubnub/go/v7 before 7.2.0; versions of the package pubnub before 7.3.0; versions of the package pubnub/pubnub before 6.1.0; versions of the package pubnub before 5.3.0; versions of the package pubnub before 0.4.0; versions of the package pubnub/c-core before 4.5.0; versions of the package com.pubnub:pubnub-kotlin before 7.7.0; versions of the package pubnub/swift before 6.2.0; versions of the package pubnub before 5.2.0; versions of the package pubnub before 4.3.0 are vulnerable to Insufficient Entropy via the getKey function, due to inefficient implementation of the AES-256-CBC cryptographic algorithm. The provided encrypt function is less secure when hex encoding and trimming are applied, leaving half of the bits in the key always the same for every encoded message or file. **Note:** In order to exploit this vulnerability, the attacker needs to invest resources in preparing the attack and brute-force the encryption.
Grounded briefings
Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.
Executive
CVE-2023-26154 is a medium public vulnerability record for this product. It is not currently listed in the CISA Known Exploited catalog. Check the linked vendor or CERT advisories for patch status. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.
System administrator
Identify whether this product is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: github.com/pubnub/go (0 → 0.0.0-20231016150651-428517fef5b9); github.com/pubnub/go/v5 (0 → 5.0.4-0.20231016150651-428517fef5b9); github.com/pubnub/go/v6 (0 → 6.1.1-0.20231016150651-428517fef5b9); github.com/pubnub/go/v7 (0 → 7.2.0). Check the linked vendor or CERT advisories for patch status. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.
Security analyst
Signals on file: CVSS 5.9, EPSS 1.0%. It is not currently listed in the CISA Known Exploited catalog. Weakness classes: CWE-331. Sources contributing to this record: cve_org, epss, github, osv. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.
Exploitation and remediation
Exploitation evidence
Not listed as known exploited in CISA KEV. Not in the CISA KEV catalog.
Patch and remediation
No required-action text is stored yet. Use the vendor or CERT links in Sources for patch availability.
Safe detection guidance
Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Dec 6, 2023 · GitHub Advisory Database
Detected
Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; all versions of the package github.com/pubnub/go; versions of the package github.com/pubnub/go/v7 before 7.2.0; versions of the package pubnub before 7.3.0; versions of the package pubnub/pubnub before 6.1.0; versions of the package pubnub before 5.3.0; versions
Jul 7, 2026 · GitHub Advisory Database
Fix available
pubnub fixed in 7.4.0; com.pubnub:pubnub-kotlin fixed in 7.7.0; github.com/pubnub/go/v7 fixed in 7.2.0; github.com/pubnub/go fixed in 0.0.0-20231016150651-428517fef5b9
Jul 7, 2026 · GitHub Advisory Database
Fix available
pubnub fixed in 7.4.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
com.pubnub:pubnub-kotlin fixed in 7.7.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
github.com/pubnub/go/v7 fixed in 7.2.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
github.com/pubnub/go fixed in 0.0.0-20231016150651-428517fef5b9
Jul 7, 2026 · GitHub Advisory Database
Fix available
github.com/pubnub/go/v6 fixed in 6.1.1-0.20231016150651-428517fef5b9
Jul 7, 2026 · GitHub Advisory Database
Fix available
github.com/pubnub/go/v5 fixed in 5.0.4-0.20231016150651-428517fef5b9
Jul 7, 2026 · GitHub Advisory Database
Fix available
Pubnub fixed in 6.19.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
github.com/pubnub/swift fixed in 6.2.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
pubnub fixed in 5.3.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
pubnub fixed in 0.4.0
Jul 7, 2026 · GitHub Advisory Database
Fix available
pubnub/pubnub fixed in 6.1.0
Jul 7, 2026 · GitHub Advisory Database
Updated
Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; all versions of the package github.com/pubnub/go; versions of the package github.com/pubnub/go/v7 before 7.2.0; versions of the package pubnub before 7.3.0; versions of the package pubnub/pubnub before 6.1.0; versions of the package pubnub before 5.3.0; versions
Affected
- Go github.com/pubnub/go0 → 0.0.0-20231016150651-428517fef5b9
- Go github.com/pubnub/go/v50 → 5.0.4-0.20231016150651-428517fef5b9
- Go github.com/pubnub/go/v60 → 6.1.1-0.20231016150651-428517fef5b9
- Go github.com/pubnub/go/v70 → 7.2.0
- Maven com.pubnub:pubnub3.4, 3.5.2, 3.5.3
- Maven com.pubnub:pubnub-kotlin0 → 7.7.0
- NuGet Pubnub0 → 6.19.0
- Packagist pubnub/pubnub0 → 6.1.0
- RubyGems pubnub0 → 5.3.0
- SwiftURL github.com/pubnub/swift0 → 6.2.0
- crates.io pubnub0 → 0.4.0
- npm pubnub0 → 7.4.0
Sources
- CVE.orgVulnerability recordCVE-2023-26154
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2023-26154
30-day exploitation probability 1.0%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-5844-q3fc-56rh
GitHub Advisory Database record mirrored by OSV.
github.com - OSV.devPackage advisoryGHSA-5844-q3fc-56rh
pubnub Insufficient Entropy vulnerability
osv.dev