---
title: "@peculiar/x509 3.1.0: release notes, upgrades and advisories"
description: "@peculiar/x509 3.1.0: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@peculiar/x509
lang: en
---

[Packages](https://inlinr.com/packages)

# @peculiar/x509

3.1.0 · 27 Oct 2026 MIT 24.9M / week [Repository](https://github.com/PeculiarVentures/x509) [Homepage](https://github.com/PeculiarVentures/x509#readme) [npm](https://www.npmjs.com/package/@peculiar/x509) [Atom feed](https://inlinr.com/packages/feed/@peculiar/x509)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@peculiar/x509/upgrade)

LineNewestSecurity

- 3.x 3.1.0 No known advisory Latest line
- 2.x 2.2.0 No known advisory [To 3.1.0](https://inlinr.com/packages/@peculiar/x509/upgrade/2.2.0-3.1.0)
- 1.x 1.14.3 No known advisory [To 3.1.0](https://inlinr.com/packages/@peculiar/x509/upgrade/1.14.3-3.1.0)

## Latest releases

[All 59 releases](https://inlinr.com/packages/@peculiar/x509/releases)

1. 3.x · latest line
2. ### [3.1.0](https://inlinr.com/packages/@peculiar/x509/releases/3.1.0 "Open this release") [](https://github.com/PeculiarVentures/x509/releases/tag/v3.1.0 "Read this release where it was published")  
27 Oct 2026

  - **chain:** add bounded path search to explicit trust anchors
  - **chain:** add bounded path search to explicit trust anchors
  - **chain:** require a limit for resource exhaustion errors
3. ### [3.0.0](https://inlinr.com/packages/@peculiar/x509/releases/3.0.0 "Open this release") [](https://github.com/PeculiarVentures/x509/releases/tag/v3.0.0 "Read this release where it was published")  
27 Oct 2026  
Summary · from the note as AI read it  
Read before upgrading: 4 changes to make.

  - Breaking  
  DER/BER input that continues after the encoded structure throws "Unexpected data after the ASN.1 structure: <n> trailing bytes" instead of being accepted with the extra bytes kept in rawData.
  - Breaking  
  @peculiar/x509 is ESM-only and requires Node.js ^20.19.0 || >=22.12.0 (was >=20.0.0). CommonJS code can still require("@peculiar/x509") on these versions through require(esm); Node.js 20.0-20.18 and 22.0-22.11 can't. build/x509.cjs.js and build/x509.es.js are replaced by build/index.js, and deep imports are blocked by "exports". TypeScript projects compiling to CommonJS need "module": "node20" or "nodenext" (node16 fails with TS1479). build/x509.js (the browser script with the x509 global) and the unpkg/jsdelivr fields are removed; browsers use the ESM build through a bundler or esm.sh, or pin @peculiar/x509@2 for the old script. @peculiar/asn1-schema ^3.0.0 is a peer dependency and the @peculiar/asn1-\* dependencies move to 3 (asn1js 4), so ASN.1 objects from asn1-schema 2 packages can't be passed in. pvtsutils is replaced by @peculiar/utils 4\. The public API is unchanged and the Reflect polyfill is still required. See "Breaking Changes In v3" in the README.
4. 2.x · maintenance
5. ### [2.2.0](https://inlinr.com/packages/@peculiar/x509/releases/2.2.0 "Open this release") [](https://github.com/PeculiarVentures/x509/releases/tag/v2.2.0 "Read this release where it was published")  
15 Oct 2026

  - Don't apply fromBER limits when parsing our own DER

Dependency tracking

## Know when your own dependencies move

@peculiar/x509 shipped 2 new majors in the last 12 months, among 6 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/@peculiar/x509/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Works with

- [@peculiar/asn1-schema](https://inlinr.com/packages/@peculiar/asn1-schema)

## Same family

- [@peculiar/asn1-schema 37.8M/wk](https://inlinr.com/packages/@peculiar/asn1-schema)

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
