CVE-2026-40475

critical

Description

The vulnerability exists due to incorrect value length handling in X509Name field setters, where values containing NUL bytes are silently truncated, causing a divergence between the stored ASN.1 value and the value visible from Python.

Details

Source: Mitre, NVD

Published: 2026-05-07

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical