Skip to content
Fencer Intel
critical 9.8

CVE-2017-18187 json

In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_ps…

published 8y ago modified 4mo ago also EUVD-2017-9322

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.

Patch / fix

  • arm mbed_tls 2.7.0
  • mbedtls Debian 14, Debian 13, Debian 12 2.7.0-2

debian advisories DEBIAN-CVE-2017-18187

  • mbedtls Ubuntu 16.04 LTS 2.2.1-2ubuntu0.3

ubuntu advisories UBUNTU-CVE-2017-18187

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mbedtls Package Hub 12 1.3.19-11.1

opensuse advisories openSUSE-SU-2018:0488-1openSUSE-SU-2018:0491-1

  • mbedtls Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.7.0-r0
  • mbedtls2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 2.7.0-r0
  • mbedtls3 Alpine 3.24 2.7.0-r0

alpine advisories ALPINE-CVE-2017-18187

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2017-18187 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-18187 updated cvss 5.3

mbedtls: Bounds-check bypass via integer overflow in ssl_srv.c:ssl_parse_client_psk_identity()

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.12% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.