Skip to main content
VulnerabilityPublished

CVE-2026-119197: Smbclient ng · pyasn1 has quadratic-complexity denial of service in binary REAL decoding

Affects smbclient-ngSource GCVE Database

0
Compare
Authoritative record:CVE-2026-119197· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 0.6.5 : patch smbclient-ng soon.

Data as of 31 Oct 2026, 15:54 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 0.6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Homebrewsmbclient-ngpkg:brew/smbclient-ngOther threatsAffected
  • >=3.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade pyasn1 to version 0.6.5 or later, which contains the fix replacing the inefficient mantissa decoding loop with an optimized int.from_bytes call. Until upgrading, applications should reject or strictly limit ASN.1 input containing REAL values, especially those with large mantissas, before passing it to pyasn1 decoders. The appropriate size limit depends on the application's CPU resources and expected request volume.

Description

pyasn1 versions up to 0.6.4 contain a denial of service vulnerability in the decoding of binary-encoded ASN.1 REAL values with large mantissas. The decoding process has quadratic time complexity relative to the mantissa size, causing excessive CPU consumption. This affects BER, CER, and DER decoders using the vulnerable RealPayloadDecoder. The issue is fixed in pyasn1 0.6.5. Applications passing attacker-controlled ASN.1 REAL values to these decoders without proper input limits may be vulnerable to CPU exhaustion during decoding.

References

Community reviews

Loading reviews…