# CVE-2026-22795: Missing ASN1\_TYPE validation in PKCS\#12 parsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-754
- **Published:** 2026-01-27T16:01:27.320Z
- **Modified:** 2026-10-15T01:12:20.101Z

## Who should check

- Anyone running OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze

## Description

Issue summary: An invalid or NULL pointer dereference can happen in
an application processing a malformed PKCS\#12 file.

Impact summary: An application processing a malformed PKCS\#12 file can be
caused to dereference an invalid or NULL pointer on memory read, resulting
in a Denial of Service.

A type confusion vulnerability exists in PKCS\#12 parsing code where
an ASN1\_TYPE union member is accessed without first validating the type,
causing an invalid pointer read.

The location is constrained to a 1-byte address space, meaning any
attempted pointer manipulation can only target addresses between 0x00 and 0xFF.
This range corresponds to the zero page, which is unmapped on most modern
operating systems and will reliably result in a crash, leading only to a
Denial of Service. Exploiting this issue also requires a user or application
to process a maliciously crafted PKCS\#12 file. It is uncommon to accept
untrusted PKCS\#12 files in applications as they are usually used to store
private keys which are trusted by definition. For these reasons, the issue
was assessed as Low severity.

The FIPS modules in 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,
as the PKCS12 implementation is outside the OpenSSL FIPS module boundary.

OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue.

OpenSSL 1.0.2 is not affected by this issue.

## Affected and fixed versions

- OpenSSL: \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.1.1ze or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-22795. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-22795.md
Affected: OpenSSL >= 3.6.0, < 3.6.1; >= 3.5.0, < 3.5.5; >= 3.4.0, < 3.4.4; >= 3.3.0, < 3.3.6; >= 3.0.0, < 3.0.19; >= 1.1.1, < 1.1.1ze
Fixed in: OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-22795 being exploited?

There is no confirmed exploitation: CVE-2026-22795 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-22795?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-22795?

OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze.

### Is there a fix for CVE-2026-22795?

Yes. Fixed in OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze. Upgrade OpenSSL to 1.1.1ze or later.

### How do I check if I'm affected by CVE-2026-22795?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260127.txt>
- patch: <https://github.com/openssl/openssl/commit/ef2fb66ec571564d64d1c74a12e388a2a54d05d2>
- patch: <https://github.com/openssl/openssl/commit/2502e7b7d4c0cf4f972a881641fe09edc67aeec4>
- patch: <https://github.com/openssl/openssl/commit/7bbca05be55b129651d9df4bdb92becc45002c12>
- patch: <https://github.com/openssl/openssl/commit/eeee3cbd4d682095ed431052f00403004596373e>
- patch: <https://github.com/openssl/openssl/commit/572844beca95068394c916626a6d3a490f831a49>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-22795>

HTML: <https://flawdb.com/CVE-2026-22795> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-22795>
