mbedtls/ChangeLog.d
v1rtu3x 5af05a964a x509: Accept basicConstraints with omitted cA
RFC 5280 defines cA as BOOLEAN DEFAULT FALSE, so a basicConstraints
extension containing only pathLenConstraint (SEQUENCE { INTEGER n })
is syntactically valid and must be interpreted as cA=FALSE. The fix
for CVE-2026-49300 rejected this encoding outright, breaking
compatibility with certificates emitted by devices such as
Eaton/CODESYS PLCs.

Tolerate MBEDTLS_ERR_ASN1_UNEXPECTED_TAG from the cA BOOLEAN parse,
keeping cA FALSE and letting the existing INTEGER parser validate
pathLenConstraint. The INTEGER value is never used to determine cA,
so the CVE fix is preserved.

Fixes #11006

Signed-off-by: v1rtu3x <149050962+v1rtu3x@users.noreply.github.com>
(cherry picked from commit 62dd8a556c01cc289d4fb3f19352a78ede90dac2)
2026-10-21 13:09:57 +03:00
..
00README.md scripts: fix paths for files moved to framework 2025-01-08 10:03:49 +01:00
add-linkage-guard.txt Add linebreak to changelog entry 2026-10-15 15:10:28 +02:00
cert-write-der-windows.txt Add changelog for DER certificate output fix 2026-10-05 16:19:05 +05:30
cmake-config.txt CMake improvements: relocatable, transformation, and more test 2026-08-20 09:10:41 +01:00
mbedtls_gcc_version.txt library/alignment.h: Fix 'MBEDTLS_GCC_VERSION' is not defined error 2026-06-15 17:05:38 +08:00
musl_getrandom.txt fix(platform): detect getrandom syscall support 2026-09-03 19:17:28 +08:00
numeric-oid-overflow.txt Reject overflowing numeric OID components 2026-10-06 23:18:23 +03:00
revert-rsa-keygen-hardening.txt Add ChangeLog entry for reversal 2026-10-09 09:51:00 +02:00
serialized-data-load-hardening.txt Reject out-of-bounds session ID length in ssl_tls12_session_load 2026-08-03 13:45:52 +05:30
sha256-update-ilen-over-4gib.txt changelog: list every affected API explicitly per review feedback 2026-10-02 22:03:47 +01:00
ssl-context-load-alpn-bounds.txt Reject out-of-bounds ALPN length in ssl_context_load 2026-10-04 22:49:43 +05:30
x509-basic-constraints-integer-first.txt x509: Accept basicConstraints with omitted cA 2026-10-21 13:09:57 +03:00