# CVE-2026-99495: s390/zcrypt: Fix and improve zcrypt reply message verification checks

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-19T14:43:40.667Z
- **Modified:** 2026-11-19T15:18:04.510Z

## Who should check

- Anyone running Linux \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 0f0aa2b560a6eca76778083b0c6f155bb458b56f; \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 5e9b339f323216d71f3ede8a0a427abf7859c486
- Anyone running Linux 3.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

s390/zcrypt: Fix and improve zcrypt reply message verification checks

Add or improve checks related to buffer sizes and reply sizes to the
handling of replies from the crypto cards for CCA, EP11 (AP message
type 6) and ICA (AP type 50) messages. The verification code related
to reply field length was not designed well and thus firmware
deficiencies could lead to unexpected behavior in the zcrypt device
driver. Thus improve the code to more closely inspect especially
length fields at message replies.

Add length validation before accessing reply message structures in
zcrypt\_msgtype6\_receive(), zcrypt\_msgtype6\_receive\_ep11(), and
zcrypt\_msgtype50\_receive() to prevent out-of-bounds reads and
potential kernel memory disclosure.

Also rework these three functions to validate reply lengths more
carefully before copying data back into the request buffer. Use size\_t
for length calculations, reject inconsistent reply sizes, and add
defensive handling for short invalid replies. For XCRB replies,
validate both reply segments and derive the effective message length
from the covered range instead of trusting only the second segment.

Additionally improve some of the later invoked evaluation functions
which further check the payload. Add comments about length assumptions
and for the type50 processing rework the payload processing completely
with removing a misplaced BUG\_ON().

## Affected and fixed versions

- Linux: \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 0f0aa2b560a6eca76778083b0c6f155bb458b56f; \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 5e9b339f323216d71f3ede8a0a427abf7859c486 (cvelist)
- Linux: 3.7 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5e9b339f323216d71f3ede8a0a427abf7859c486 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-99495. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99495.md
Affected: Linux >= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, < 0f0aa2b560a6eca76778083b0c6f155bb458b56f; >= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, < 5e9b339f323216d71f3ede8a0a427abf7859c486; Linux 3.7
Fixed in: Linux 0f0aa2b560a6eca76778083b0c6f155bb458b56f, Linux 5e9b339f323216d71f3ede8a0a427abf7859c486

Steps:
1. Search this machine and project for Linux: 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-99495 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 0f0aa2b560a6eca76778083b0c6f155bb458b56f; \>= 5e55a488c87aa6cc269b04bfec99e835f03b2c2d, \< 5e9b339f323216d71f3ede8a0a427abf7859c486; Linux 3.7.

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

Yes. Fixed in Linux 0f0aa2b560a6eca76778083b0c6f155bb458b56f, Linux 5e9b339f323216d71f3ede8a0a427abf7859c486. Upgrade Linux to 5e9b339f323216d71f3ede8a0a427abf7859c486 or later.

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

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

- other: <https://git.kernel.org/stable/c/0f0aa2b560a6eca76778083b0c6f155bb458b56f>
- other: <https://git.kernel.org/stable/c/5e9b339f323216d71f3ede8a0a427abf7859c486>

## 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-99495>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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