{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-1000159","published":"2018-04-18T19:29:00.333000Z","last_modified":"2026-06-17T01:32:33.520000Z","status":"Modified","cvss":{"version":"3.0","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-354"],"cpes":[{"criteria":"cpe:2.3:a:tlslite-ng_project:tlslite-ng:*:*:*:*:*:*:*:*","part":"a","vendor":"tlslite-ng_project","product":"tlslite-ng","version_end_including":"0.7.3"}],"cpes_truncated":false,"vendors":["tlslite-ng_project"],"products":["tlslite-ng_project/tlslite-ng"],"epss":{"score":0.00772,"percentile":0.52132,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cwh5-3cw7-4286","ecosystem":"PyPI","name":"tlslite-ng","purl":"pkg:pypi/tlslite-ng","ranges":[{"introduced":"0","fixed":"0.7.4"}],"versions":["0.5.0","0.5.0-beta1","0.5.0-beta2","0.5.0-beta3","0.5.0-beta4","0.5.0-beta5","0.5.0-beta6","0.5.1","0.5.2","0.6.0","0.6.0-alpha1","0.6.0-alpha2","0.6.0-alpha3","0.6.0-alpha4","0.6.0-alpha5","0.6.0-beta1","0.7.0","0.7.0-alpha1","0.7.0-alpha2","0.7.0-alpha3","0.7.0-alpha4","0.7.0-alpha5","0.7.0-alpha6","0.7.0-alpha7","0.7.0-alpha8","0.7.0-alpha9","0.7.0-beta1","0.7.1","0.7.2","0.7.3"],"versions_truncated":false},{"advisory":"PYSEC-2018-31","ecosystem":"PyPI","name":"tlslite-ng","purl":"pkg:pypi/tlslite-ng","ranges":[{"introduced":"0","fixed":"0.7.4"}],"versions":["0.5.0","0.5.0-beta1","0.5.0-beta2","0.5.0-beta3","0.5.0-beta4","0.5.0-beta5","0.5.0-beta6","0.5.1","0.5.2","0.6.0","0.6.0-alpha1","0.6.0-alpha2","0.6.0-alpha3","0.6.0-alpha4","0.6.0-alpha5","0.6.0-beta1","0.7.0","0.7.0-alpha1","0.7.0-alpha2","0.7.0-alpha3","0.7.0-alpha4","0.7.0-alpha5","0.7.0-alpha6","0.7.0-alpha7","0.7.0-alpha8","0.7.0-alpha9","0.7.0-beta1","0.7.1","0.7.2","0.7.3"],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2018-1000159/","html_en":"/en/cve/CVE-2018-1000159/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000159","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-1000159"},"untrusted":{"vendor_name":"Tlslite-ng Project","product_name":"Tlslite-ng","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/tomato42/tlslite-ng/pull/234","tags":["Third Party Advisory"]}]}}