CVE-2026-111458
published medium CVSS 4.0 · 6.8ssldump Heap Buffer Overflow in FAN/1 X.509 Fingerprint Formatting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| adulau | — | ssldump0 through 1.9.0 · Other versions: unaffected | Affected | Not stated | CIRCL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- CIRCL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| adulau | ssldump | 0 through 1.9.0 (affected · semver)Default: unaffected | CIRCL · cna |
Weaknesses
2- CWE-122 CWE-122 Heap-based Buffer Overflow
- CWE-787 CWE-787 Out-of-bounds Write
References
1- Security patch https://github.com/adulau/ssldump/commit/8ad55683cc0186600c085d33be5a5b627db78467
Provider assertions
2CIRCL · cna
ssldump Heap Buffer Overflow in FAN/1 X.509 Fingerprint Formatting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e58b49f1130b881d94357f389de181b5810f3ee5822c6cb7a597fafe264bc5ff
- Ingested
- 16 Oct 2026, 12:35:02 UTC
- Source record
- Official CVE record