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
Published Dec 6, 2023
5.9
MEDIUMCVSS 3.1
EPSS 0.96%
Description
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.
Affected products
- Vendor n/a Product PubNub Defaultn/a
- Version 0StatusaffectedConstraints<5.2.0
- Version
- Vendor n/a Product Pubnub Defaultn/a
- Version 0StatusaffectedConstraints<6.19.0
- Version
- Vendor n/a Product Com.pubnub:pubnub Defaultn/a
- Version 0StatusaffectedConstraints<*
- Version
- Vendor n/a Product Com.pubnub:pubnub-Kotlin Defaultn/a
- Version 0StatusaffectedConstraints<7.7.0
- Version
- Vendor n/a Product Github.com/pubnub/go Defaultn/a
- Version 0StatusaffectedConstraints<*
- Version
- Vendor n/a Product Github.com/pubnub/go/v7 Defaultn/a
- Version 0StatusaffectedConstraints<7.2.0
- Version
- Vendor n/a Product Pubnub Defaultn/a
- Version 0StatusaffectedConstraints<0.4.0
- Version 0StatusaffectedConstraints<4.3.0
- Version 0StatusaffectedConstraints<5.3.0
- Version 0StatusaffectedConstraints<7.3.0
- Version 0StatusaffectedConstraints<7.4.0
- Version
- Vendor n/a Product Pubnub/c-Core Defaultn/a
- Version 0StatusaffectedConstraints<4.5.0
- Version
- Vendor n/a Product Pubnub/pubnub Defaultn/a
- Version 0StatusaffectedConstraints<6.1.0
- Version
- Vendor n/a Product Pubnub/swift Defaultn/a
- Version 0StatusaffectedConstraints<6.2.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | PubNub | n/a |
| ||||||||||||||||||
| n/a | Pubnub | n/a |
| ||||||||||||||||||
| n/a | Com.pubnub:pubnub | n/a |
| ||||||||||||||||||
| n/a | Com.pubnub:pubnub-Kotlin | n/a |
| ||||||||||||||||||
| n/a | Github.com/pubnub/go | n/a |
| ||||||||||||||||||
| n/a | Github.com/pubnub/go/v7 | n/a |
| ||||||||||||||||||
| n/a | Pubnub | n/a |
| ||||||||||||||||||
| n/a | Pubnub/c-Core | n/a |
| ||||||||||||||||||
| n/a | Pubnub/pubnub | n/a |
| ||||||||||||||||||
| n/a | Pubnub/swift | n/a |
|
- < 4.5.0
- < 7.7.0
- < 0.4.0
- < 7.2.0
- ≥ 3.6.4 · < 4.3.0
- ≥ 4.3.1 · < 5.2.0
- ≥ 6.0.0 · < 6.1.0
- ≥ 6.2.0 · < 6.19.0
- ≥ 7.0.0 · < 7.3.0
- ≥ 7.3.1 · < 7.4.0
- < 6.2.0
No data.
No Red Hat product state for this CVE.
github.com/pubnub/go/v7
Go
Introduced 0 Fixed 7.2.0github.com/pubnub/swift
SwiftURL
Introduced 0 Fixed 6.2.0pubnub
RubyGems
Introduced 0 Fixed 5.3.0com.pubnub:pubnub-kotlin
Maven
Introduced 0 Fixed 7.7.0com.pubnub:pubnub
Maven
Introduced 0 Fixed not fixedPubnub
NuGet
Introduced 0 Fixed 6.19.0pubnub
crates.io
Introduced 0 Fixed 0.4.0pubnub/pubnub
Packagist
Introduced 0 Fixed 6.1.0pubnub
Pub
Introduced 0 Fixed 4.3.0pubnub
PyPI
Introduced 0 Fixed 7.3.0pubnub
npm
Introduced 0 Fixed 7.4.0github.com/pubnub/go
Go
Introduced 0 Fixed 0.0.0-20231016150651-428517fef5b9github.com/pubnub/go/v6
Go
Introduced 0 Fixed 6.1.1-0.20231016150651-428517fef5b9github.com/pubnub/go/v5
Go
Introduced 0 Fixed 5.0.4-0.20231016150651-428517fef5b9
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/pubnub/go/v7 | 0 | 7.2.0 |
| SwiftURL | github.com/pubnub/swift | 0 | 6.2.0 |
| RubyGems | pubnub | 0 | 5.3.0 |
| Maven | com.pubnub:pubnub-kotlin | 0 | 7.7.0 |
| Maven | com.pubnub:pubnub | 0 | not fixed |
| NuGet | Pubnub | 0 | 6.19.0 |
| crates.io | pubnub | 0 | 0.4.0 |
| Packagist | pubnub/pubnub | 0 | 6.1.0 |
| Pub | pubnub | 0 | 4.3.0 |
| PyPI | pubnub | 0 | 7.3.0 |
| npm | pubnub | 0 | 7.4.0 |
| Go | github.com/pubnub/go | 0 | 0.0.0-20231016150651-428517fef5b9 |
| Go | github.com/pubnub/go/v6 | 0 | 6.1.1-0.20231016150651-428517fef5b9 |
| Go | github.com/pubnub/go/v5 | 0 | 5.0.4-0.20231016150651-428517fef5b9 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (6 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.96% (0.00963) | 60.27th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.95% (0.00955) | 56.62th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.68% (0.00684) | 69.97th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.14% (0.00136) | 50.57th | v3 (v2023.03.01) |
| Dec 12, 2023 | 0.11% (0.00108) | 43.15th | v3 (v2023.03.01) |
| Dec 6, 2023 | 0.05% (0.00046) | 14.08th | v3 (v2023.03.01) |
References (22)
- https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0 ExploitIssue Tracking
- https://github.com/advisories/GHSA-5844-q3fc-56rh Advisory
- https://github.com/pubnub/go/commit/428517fef5b901db7275d9f5a75eda89a4c28e08
- https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js#L70
- https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70 Broken Link
- https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119 Patch
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pubnub/CVE-2023-26154.yml
- https://nvd.nist.gov/vuln/detail/CVE-2023-26154
- https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379 Third Party Advisory
Change history (0)
No recorded changes yet.