Read the docs
TI-2025-23153 Aliases CVE-2025-32029GHSA-p4qw-7j9g-5h53

ts-asn1-der has Incorrect DER Encoding of Numbers Leading to Denial of Service and Incorrect Value Representation

Priority LOW 30CWE-1335Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-835.

Summary

ts-asn1-der is a collection of utility classes to encode ASN.1 data following DER rule. Incorrect number DER encoding can lead to denial on service for absolute values in the range 2**31 -- 2**32 - 1. The arithmetic in the numBitLen didn't take into account that values in this range could result in a negative result upon applying the >> operator, leading to an infinite loop. The issue is patched in version 1.0.4. If upgrading is not an option, the issue can be mitigated by validating inputs to Asn1Integer to ensure that they are not smaller than -2**31 + 1 and no larger than 2**31 - 1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00239 15th percentileScored 2026-11-07
Fix Fixed ts-asn1-der (ApelegHQ): 1.0.4@apeleghq/asn1-der (npm): 1.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApelegHQts-asn1-derbefore 1.0.41.0.4Patch availableCNA
—@apeleghq/asn1-der (npm)before 1.0.41.0.4Patch availableGHSA-p4qw-7j9g-5h53
  • ts-asn1-der VendorApelegHQ Affected before 1.0.4 Fixed in 1.0.4 Patch available CNA
  • @apeleghq/asn1-der (npm) Vendor— Affected before 1.0.4 Fixed in 1.0.4 Patch available GHSA-p4qw-7j9g-5h53

Remediation

  • Fix · CNA ts-asn1-der (ApelegHQ) Fixed in 1.0.4
  • Fix · GHSA-p4qw-7j9g-5h53 @apeleghq/asn1-der (npm) Fixed in 1.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-32029
  2. 2026-10-03 Alias added: GHSA-p4qw-7j9g-5h53

References

Sources