Vulnerability · Published Oct 16, 2026 · Assigned by CIRCL
CVE-2026-111458ssldump Heap Buffer Overflow in FAN/1 X.509 Fingerprint Formatting
Medium 6.8
In plain English
A medium-severity heap buffer overflow in ssldump from adulau. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities).
Official description
The fanx_fingerprint function in ssl/sslxprint.c of ssldump allocates a heap buffer for formatting FAN/1 X.509 certificate fingerprints. The allocation size is computed as strlen(b64) + strlen(hex) + 31, but the format string "fan1:x509:server:passive:%s:sha256:%s" contains 33 fixed characters in addition to the two variable-length fields and a null terminator, requiring strlen(b64) + strlen(hex) + 34 bytes. This miscalculation results in a 3-byte heap-based buffer overflow on every invocation of the function with valid inputs. The overflow occurs because sprintf writes the full formatted string into the undersized heap buffer without bounds checking. An attacker who can supply a crafted pcap file containing a TLS X.509 certificate to a user running ssldump with FAN/1 fingerprinting enabled (for example with the -j -N options) can trigger the overflow. The resulting heap corruption may lead to denial of service through a crash or, in a worst-case scenario, arbitrary code execution in the context of the user running ssldump. The vulnerability is deterministic and requires no special privileges beyond the ability to provide input to the tool.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ssldump | no fix listed | DEBIAN-CVE-2026-111458 |
| Debian:13 | ssldump | no fix listed | DEBIAN-CVE-2026-111458 |
| Debian:14 | ssldump | no fix listed | DEBIAN-CVE-2026-111458 |
| Ubuntu:22.04:LTS | ssldump | no fix listed | UBUNTU-CVE-2026-111458 |
| Ubuntu:24.04:LTS | ssldump | no fix listed | UBUNTU-CVE-2026-111458 |
| Ubuntu:26.04:LTS | ssldump | no fix listed | UBUNTU-CVE-2026-111458 |
| Ubuntu:26.10 | ssldump | no fix listed | UBUNTU-CVE-2026-111458 |
Affected products (as reported)
Weakness: CWE-122, CWE-787 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
References
- Security patch patch