Skip to main content
CVE-2026-119195VulnerabilityPublished

Hermes agent: pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding

Affects hermes-agentSource GCVE Database

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

Not known to be exploited · CVSS 7.5 High · fixed in 2026.4.30 : patch hermes-agent soon.

Data as of 31 Oct 2026, 18:23 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 2026.4.30
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
Homebrewhermes-agentpkg:brew/hermes-agentOther threatsAffected
  • >=0.21.6
  • >=2026.9.14 <=2026.9.24
Fixed in–

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

AI-suggested

A patch is available in hermes-agent version 2026.4.30 that fixes this vulnerability. Users should upgrade to this version or later to remediate the issue. Until patched, applications should implement input validation or resource limits on ASN.1 decoding to mitigate potential CPU exhaustion. No other vendor advisory states that no action is required or that the issue is already mitigated.

Description

In pyasn1 versions 0.6.4 and earlier used by hermes-agent, a quadratic-time denial of service vulnerability exists in the decoding of constructed OCTET STRINGs, constructed character strings, and indefinite-length ANY types. This flaw causes CPU usage to grow quadratically with the number of fragments during ASN.1 decoding, potentially allowing an attacker to exhaust CPU resources by supplying crafted ASN.1 input. The vulnerability affects BER and CER decoding paths and certain non-conforming DER inputs when an asn1Spec is used. No confidentiality or integrity impact is reported. A fix is available in version 2026.4.30.

References

Community reviews

Loading reviews…