CVE-2023-26154Versions 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;…
- 5.9MediumCVSS base score
- 0.96%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By snyk
- 10 months later
· 10 months later
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.96% · top 38% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
pubnub
- affected < 7.4.0
com.pubnub:pubnub
- affected < *
Pubnub
- affected < 6.19.0
github.com/pubnub/go
- affected < *
github.com/pubnub/go/v7
- affected < 7.2.0
pubnub
- affected < 7.3.0
pubnub/pubnub
- affected < 6.1.0
pubnub
- affected < 5.3.0
pubnub
- affected < 0.4.0
pubnub/c-core
- affected < 4.5.0
com.pubnub:pubnub-kotlin
- affected < 7.7.0
pubnub/swift
- affected < 6.2.0
PubNub
- affected < 5.2.0
pubnub
- affected < 4.3.0
Affected packages
Affected packages14
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/pubnub/goGHSA-5844-q3fc-56rh (opens in a new tab)
- Gogithub.com/pubnub/go/v5GHSA-5844-q3fc-56rh (opens in a new tab)
- Gogithub.com/pubnub/go/v6GHSA-5844-q3fc-56rh (opens in a new tab)
- Gogithub.com/pubnub/go/v7GHSA-5844-q3fc-56rh (opens in a new tab)
- Mavencom.pubnub:pubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- Mavencom.pubnub:pubnub-kotlinGHSA-5844-q3fc-56rh (opens in a new tab)
- NuGetPubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- Packagistpubnub/pubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- PubpubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- PyPIpubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- RubyGemspubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- SwiftURLgithub.com/pubnub/swiftGHSA-5844-q3fc-56rh (opens in a new tab)
- crates.iopubnubGHSA-5844-q3fc-56rh (opens in a new tab)
- npmpubnubGHSA-5844-q3fc-56rh (opens in a new tab)
References
References17
- https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385 (opens in a new tab)x_transferred
- https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0 (opens in a new tab)x_transferred
- https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70 (opens in a new tab)x_transferred
- https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-3110 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5844-q3fc-56rh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-26154)Record last updated .