{"id":"SUSE-SU-2026:24710-1","summary":"Security update for python-M2Crypto","details":"This update for python-M2Crypto fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2026-109087: SSL.Checker subjectAltName hostname injection (bsc#1285047).\n\nNon security issue fixed:\n\n- swig 4.5.0 breaks python-M2Crypto (bsc#1275165).\n\nChanges for python-M2Crypto:\n\n- update to 0.51.0:\n - CVE-2026-109087: SSL.Checker subjectAltName hostname\n injection\n (bsc#1285047, https://codefloe.com/mcepl/m2crypto/issues/409)\n - Fix regex injection in TLS hostname verification (no CVE,\n kindly reported by eGkritsis)\n - adding the project to the Anthropic OSS Security Scanner\n (https://github.com/anthropics/oss-scanner/pull/479)\n- update to 0.50.0:\n * switch to Codefloe\n * isolate OpenSSL providers in private contexts\n * disable legacy ENGINE bindings with OpenSSL 3 deprecations\n * manage BIO ownership when attaching to SSL connections\n * repair Windows CI pipeline and improve setup.py robustness\n * record security-related behavior changes\n * emit DeprecationWarning when RC4 cipher is instantiated\n * disable TLSv1.0 and TLSv1.1 by default\n * prevent out-of-bounds read in BN conversions\n * preserve errno from gettimeofday failures\n * restore timed read retries\n- Update to 0.49.0:\n - defer unavailable ENGINE constant lookup\n - fixes problematic behaviour of pkcs11-provider\n - support TLS 1.0 contexts with modern OpenSSL\n - use Python 3 C APIs in handwritten SWIG code (bsc#1275165)\n - feat: Add AES-GCM (AEAD) support to M2Crypto\n - remove Black configuration from setup.cfg\n - release X509V3 config with its context\n - keep IOBuffer chains alive until destruction\n - test: free low-level OpenSSL objects in leak tests\n - avoid leaking X509V3 extension config\n - free RSA exponent on modulus conversion failure\n - free replaced EVP digest contexts\n - wrap created X509 name entries with ownership\n - own ASN1 values created from Python data\n - own PKCS7 certificate stack copies\n - release BIOs on explicit close\n - Add AuthorityKeyIdentifier extension support\n- Upgrade to 0.48.0:\n - doc: another move ... this time to Codeberg (and communication\n to Matrix)\n - test(smime): parametrize test_write_pkcs7_der\n - test(smime): fix test_signEncryptDecryptVerify\n - fix(util): return bytes from passphrase callbacks\n - fix(SSL.Checker): add IDN Chinese name\n - test(ssl): add IDN certificate fixture coverage\n - test(ssl): cover IDN hostname matching in Checker\n - doc: update expected Name format in migration guide\n - fix(smime): S/MIME signature verification for Outlook and\n Thunderbird\n - fix(provider): handle OSSL_STORE_INFO_PUBKEY compat. for\n OpenSSL \u003c 3.2\n - fix: cast X509_dup in sk_X509_deep_copy to avoid type\n mismatch\n - fix(smime): remove obsolete Python pre-3.6 constructs\n - ci: run on Codeberg with forgejo_runner\n - doc: clarify the status of the project\n - fix(provider): adjust the CI run on Gitea for the older\n OpenSSL on Debian\n - fix(evp): narrow digest and BIO pointers for mypy\n - fix(init): acommodate modern packaging API\n - doc: IRC channel is on Libera, Ergo was a wrong idea\n - fix(tests): remove duplicate definition of IS_DEBIAN in\n test_ssl\n - fix(test_bio_ssl): fix TLS 1.3 deadlock and add socket\n timeouts\n - fix(test_bio_ssl): replace sys.exit() with self.fail() to\n prevent test process crash\n - ci: publish to PyPI with Sigstore attestations via Trusted\n Publishing\n - fix(authcookie): handle CookieError from Python 3.13.12+\n (CVE-2026-0672)\n - ci(leap): use setup.py bdist_wheel to bypass old pip PEP 517\n wrapper\n - fix(util): replace is_32bit with struct.calcsize and update\n tests\n - ci: add FreeBSD SourceHut CI build script\n - fix(swig): avoid clang GNUC pragma block before _lib.h\n - fix(provider): don't abuse TemporaryDirectory to be mkdtemp,\n use that directly.\n - fix(provider): gate provider APIs for OpenSSL 1.1.1\n - feat(provider): add key generation and destruction methods\n - docs(provider): add comprehensive documentation to Provider\n module\n - fix(provider): better exception handling\n - doc: add a simple AGENTS.md\n - feat(engine): add availability check, lifecycle helpers, and\n safer cleanup\n - doc(engine): Improve documentation and example of using\n Engine module\n- Upgrade to 0.47.0:\n - feat: added full SWIG bindings for the ASN1_UTCTIME\n - refactor(SWIG): adopt Python Buffer Protocol for\n X509_NAME_ENTRY_set_data\n - fix: allow 64-bit time_t on 32-bit systems in test_is32bit\n - feat(provider): add initial OpenSSL providers support\n - feat: stop supporting 32bit packages on Windows\n - fix: improve detection of OpenSSL on Windows\n - ci: run doctest\n - fix: _matchIPAddress is failing\n - feat: Add degenerate PKCS7 (.p7c) support\n - fix(setup): add `packaging` as a requirement\n - feat(asn1): introduce dedicated ASN1_UTCTIME class\n - refactor(x509): CRL handling and testing\n - feat: add function to provide the equivalent of `openssl\n ciphers`.\n - fix(X509): refactor new_extension to prevent memory\n corruption\n - ci: add tests showing the use of M2Crypto for STARTTLS\n protocol\n - doc: convert documentation to MyST\n - doc: various improvements of documentation\n - revert: remove support for Engine\n - fix(engine): make the compilation of Engine conditional on\n OPENSSL_NO_ENGINE\n - fix(https): make HTTPS Connection work with Proxy\n - doc: add an example of using HTTPS with PKCS#11 Engine\n- Update to 0.46.2:\n - fix[m2xmlrpclib]: make the module compatible with Python 3.6\n- Update to 0.46.1:\n - M2Crypto closes SSL connection on closing HTTPS Connection,\n and some other related issues (#203, #278)\n - Modernize C API by eliminating use of deprecated\n PyBytes_AsStringAndSize and related functions with Python\n Buffer Protocol (#375)\n - Whole project is completely covered with type hints and is\n checked by mypy (also while doing that, the whole project was\n blackened) (#344)\n - Add logging support to C extension code sending messages to\n the Python logging\n - Introducing first efforts to support Engine object (#229)\n - Reworked and fixed M2Crypto.m2xmlrpclib module (#163)\n - Reverted removal of demo/ subdirectory\n - Improve SMIME documentation (#377)\n - Some other minor bugs, improvements, and removal of dead code\n - Correct license to BSD-2-Clause and update references\n - Specify in setup.cfg that we require Python \u003e= 3.6\n","modified":"2026-11-13T12:00:04.474094095Z","published":"2026-11-11T16:24:56Z","related":["CVE-2026-0672","CVE-2026-109087"],"upstream":["CVE-2026-0672","CVE-2026-109087"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624710-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1275165"},{"type":"REPORT","url":"https://bugzilla.suse.com/1285047"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-0672"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-109087"}],"affected":[{"package":{"name":"python-M2Crypto","ecosystem":"SUSE:Linux Micro 6.0","purl":"pkg:rpm/suse/python-M2Crypto&distro=SUSE%20Linux%20Micro%206.0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.51.0-159998.1.1"}]}],"ecosystem_specific":{"binaries":[{"python311-M2Crypto":"0.51.0-159998.1.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2026:24710-1.json"}}],"schema_version":"1.9.2"}