Vulnerabilities

Vulnerability · CVE-2023-26154

pubnub Insufficient Entropy vulnerability

Published Dec 6, 2023 · catalog updated Jul 7, 2026 · pubnub Insufficient Entropy

Check if you run it

No confirmed exploitation is on record for CVE-2023-26154. EPSS is 0.96%. Act only if a listed version of pubnub Insufficient Entropy is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (pubnub Insufficient Entropy).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium5.9
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.96%
Remediation
Advisory link
Affected products
Go github.com/pubnub/go · Go github.com/pubnub/go/v5 · Go github.com/pubnub/go/v6 · Go github.com/pubnub/go/v7 · Maven com.pubnub:pubnub · Maven com.pubnub:pubnub-kotlin

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • 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:pubnub0 → 4.6.5
  • 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

How to fix CVE-2023-26154

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2023-26154. EPSS is 0.96%. Act only if a listed version of pubnub Insufficient Entropy is installed.

Which versions are affected?

Compare what you have installed with Pubnub 0 → 6.19.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-331. EPSS 0.96%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. 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

  2. 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

  3. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    pubnub fixed in 7.4.0

  4. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    com.pubnub:pubnub-kotlin fixed in 7.7.0

  5. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    github.com/pubnub/go/v7 fixed in 7.2.0

  6. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    github.com/pubnub/go fixed in 0.0.0-20231016150651-428517fef5b9

  7. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    github.com/pubnub/go/v6 fixed in 6.1.1-0.20231016150651-428517fef5b9

  8. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    github.com/pubnub/go/v5 fixed in 5.0.4-0.20231016150651-428517fef5b9

  9. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    Pubnub fixed in 6.19.0

  10. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    github.com/pubnub/swift fixed in 6.2.0

  11. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    pubnub fixed in 5.3.0

  12. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    pubnub fixed in 0.4.0

  13. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    pubnub/pubnub fixed in 6.1.0

  14. Jul 7, 2026 · GitHub Advisory Database

    Fix available

    com.pubnub:pubnub fixed in 4.6.5

  15. 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

Sources

References

Freshness

Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.