Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-111458 EUVD-2026-102656GHSA-px2j-96c7-vxc7

ssldump Heap Buffer Overflow in FAN/1 X.509 Fingerprint Formatting

Published Oct 16, 2026 · Updated Oct 16, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
adulau ssldump ≤ 1.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ssldump No fix yet —
Debian 13 ssldump No fix yet —
Debian 12 ssldump No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ssldump No fix yet —
Ubuntu 26.04 LTS ssldump No fix yet —
Ubuntu 24.04 LTS ssldump No fix yet —
Ubuntu 22.04 LTS ssldump No fix yet —
Ubuntu 20.04 LTS ssldump No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ssldump No fix yet —
Ubuntu 16.04 LTS ssldump No fix yet —

References