Description
An issue was discovered in openHiTLS 0.2.0 through 0.3.2. In the X.509 certificate chain verification, the basic constraints extension and CA flag processing of intermediate CAs are only verified for v3 certificates, and v1/v2 certificates are ignored.
Published: 2026-08-18
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the X.509 certificate chain verification routine of openHiTLS. The library only checks the basic constraints extension and CA flag for v3 certificates; v1 or v2 certificates in intermediate positions are ignored, which allows an attacker to insert a forged intermediate that bypasses the CA validation. This flaw can enable the acceptance of self‑signed or malicious certificates in place of legitimate ones, compromising the integrity of TLS handshakes. The weakness is an improper validation check (CWE‑295).

Affected Systems

The affected product is the openHiTLS TLS library, and versions from 0.2.0 through 0.3.2 contain the flaw. Systems that link against these library versions rely on openHiTLS for TLS protocol operation, so they expose the certificate validation logic to the described weakness.

Risk and Exploitability

Based on the description, it is inferred that an attacker could supply a custom certificate chain that contains a v1 or v2 intermediate, thereby bypassing validation and accepting a forged chain. The likely attack vector is a man‑in‑the‑middle or spoofed certificate scenario where the verifier accepts the forged chain. The CVSS score of 6.8 indicates a moderate severity, while the EPSS score of <1% suggests a low exploitation probability. The vulnerability is not listed in the CISA KEV catalog at present.

Generated by OpenCVE AI on August 31, 2026 at 15:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update openHiTLS to version 0.3.3 or later, where the basic‑constraints validation has been fixed for all certificate versions.
  • If an update is not immediately viable, apply a local patch or configuration change that enforces full basic‑constraints checks on intermediate CAs, especially for v1/v2 certificates.
  • Implement application‑level certificate pinning or an additional validation layer to verify that all certificates in the chain meet the required CA constraints, thereby mitigating the underlying library weakness.

Generated by OpenCVE AI on August 31, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Title openHiTLS Basic Constraints Validation Failure for V1/V2 Certificates

Mon, 31 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Openhitls
Openhitls openhitls
Vendors & Products Openhitls
Openhitls openhitls

Fri, 21 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Title openHiTLS Basic Constraints Validation Failure for V1/V2 Certificates

Wed, 19 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 20:30:00 +0000


Tue, 18 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description An issue was discovered in openHiTLS 0.2.0 through 0.3.2. In the X.509 certificate chain verification, the basic constraints extension and CA flag processing of intermediate CAs are only verified for v3 certificates, and v1/v2 certificates are ignored.
References

Subscriptions

Openhitls Openhitls
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-31T12:26:29.050Z

Reserved: 2026-06-25T00:00:00.000Z

Link: CVE-2026-57826

cve-icon Vulnrichment

Updated: 2026-08-19T18:27:34.045Z

cve-icon NVD

Status : Deferred

Published: 2026-08-18T20:17:19.193

Modified: 2026-08-31T20:59:32.817

Link: CVE-2026-57826

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T15:15:14Z

Weaknesses
  • CWE-295

    Improper Certificate Validation