5.9

CVE-2023-26154: pubnub c-core Insufficient Entropy

CVSS: 5.9v3.1MediumModified
AliasesGHSA-5844-q3fc-56rhGO-2023-2385PYSEC-2026-1807
Published 06-12-2023Last modified 02-08-2024

Vulnerability summary

CVE-2023-26154 is a medium (CVSS 5.9) Insufficient Entropy vulnerability in pubnub c-core. EPSS estimates a 0.96% chance of exploitation in the next 30 days, higher than 61.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.96%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 06-12-2023
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 9 sources · 1 version

EPSS trend

Probability

0.96%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

+0.01 pp

From 0.95% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.96%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    20237094Fce7A0A28F0723D7Ce395Bb0

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Pubnub5 products
  • pubnub< 6.1.0
  • c-core< 4.5.0
  • kotlin< 7.7.0
  • pubnub< 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
  • swift< 6.2.0
Github.com/pubnub/go3 products
  • v5< 5.0.4-0.20231016150651-428517fef5b9 | All versions (No fix recorded)
  • v6< 6.1.1-0.20231016150651-428517fef5b9 | All versions (No fix recorded)
  • v7< 7.2.0
Com.pubnub2 products
  • pubnub≤ 4.6.5
  • pubnub-kotlin< 7.7.0
Github.com/pubnub2 products
  • go< 0.0.0-20231016150651-428517fef5b9 | All versions (No fix recorded)
  • swift< 6.2.0
Crates.Io1 product
  • pubnub< 0.4.0
Npm1 product
  • pubnub< 7.4.0
NuGet1 product
  • Pubnub< 6.19.0
Pub1 product
  • pubnub< 4.3.0
PyPI1 product
  • pubnub< 7.3.0
RubyGems1 product
  • pubnub< 5.3.0

10 vendors · 18 products

References

24 links
Show all 24 references