CVE-2020-26263
RSA vulnerability in tslite-ng
Reported by github_m · Published December 21, 2020
tlslite-ng is fixed in 0.7.6 (PyPI)
tlslite-ng is an open source python library that implements SSL and TLS cryptographic protocols. In tlslite-ng before versions 0.7.6 and 0.8.0-alpha39, the code that performs decryption and padding check in RSA PKCS#1 v1.5 decryption is data dependant. In particular, the code has multiple ways in which it leaks information about the decrypted ciphertext. It aborts as soon as the plaintext doesn't start with 0x00, 0x02. All TLS servers that enable RSA key exchange as well as applications that use the RSA decryption API directly are vulnerable. This is patched in versions 0.7.6 and 0.8.0-alpha39. Note: the patches depend on Python processing the individual bytes in side-channel free manner, this is known to not the case (see reference). As such, users that require side-channel resistance are recommended to use different TLS implementations, as stated in the security policy of tlslite-ng.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tlslite-ng | PyPI | 0.7.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tlsfuzzer | tlslite-ng | < 0.7.6, >= 0.8.0-alpha1, < 0.8.0-alpha39 |
| PyPI | tlslite-ng | 0 |
| tlsfuzzer | tlslite-ng | 0, 0.8.0-alpha1 |
Timeline
- Dec 21, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 9, 2026 Security Advisory
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-26263
vulnetix vdb fixes CVE-2020-26263
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26263/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-26263 advisory
- https://github.com/advisories/GHSA-wvcv-832q-fjg7 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/tlslite-ng/PYSEC-2020-143.yaml advisory
- https://github.com/tlsfuzzer/tlslite-ng url
- https://pypi.org/project/tlslite-ng url
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python url