{"cve":"CVE-2018-1000159","nvd":{"published":"2018-04-18T19:29:00.333","modified":"2026-06-17T01:32:33.520","status":"Modified","description":"tlslite-ng version 0.7.3 and earlier, since commit d7b288316bca7bcdd082e6ccff5491e241305233 contains a CWE-354: Improper Validation of Integrity Check Value vulnerability in TLS implementation, tlslite/utils/constanttime.py: ct_check_cbc_mac_and_pad(); line \"end_pos = data_len - 1 - mac.digest_size\" that can result in an attacker manipulating the TLS ciphertext which will not be detected by receiving tlslite-ng. This attack appears to be exploitable via man in the middle on a network connection. This vulnerability appears to have been fixed after commit 3674815d1b0f7484454995e2737a352e0a6a93d8.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-354"],"references":["https://github.com/tomato42/tlslite-ng/pull/234","https://github.com/tomato42/tlslite-ng/pull/234"],"products":["tlslite-ng_project:tlslite-ng"],"source":"nvd","synced_at":"2026-10-19T20:49:59.483420567+00:00"},"epss":{"cve":"CVE-2018-1000159","score":0.00772,"percentile":0.55703,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cwh5-3cw7-4286","url":"https://osv.dev/vulnerability/GHSA-cwh5-3cw7-4286","summary":"tlslite-ng off-by-one error on mac checking","modified":"2024-11-24T05:38:43.510229Z","packages":[{"ecosystem":"PyPI","name":"tlslite-ng","purl":"pkg:pypi/tlslite-ng","ranges":["<0.7.4"],"fixed":["0.7.4"]}]},{"id":"PYSEC-2018-31","url":"https://osv.dev/vulnerability/PYSEC-2018-31","summary":"","modified":"2023-11-08T03:59:36.197516Z","packages":[{"ecosystem":"PyPI","name":"tlslite-ng","purl":"pkg:pypi/tlslite-ng","ranges":["<0.7.4"],"fixed":["0.7.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}