CVE catalog

CVE-2026-111458

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) +

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.09% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianssldumpsid1.9-2vulnerable
Debianssldumpforky1.9-2vulnerable
Debianssldumptrixie1.9-1vulnerable
Debianssldumpbookworm1.5-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianssldumpsourcesid(unfixed)unimportantNot reportedNot reported
Debianssldumpsourceforky(unfixed)unimportantNot reportedNot reported
Debianssldumpsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianssldumpsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ssldump]Affected
    Details (2)
    • 1.5-1 · amd64 · bookworm

      Affected

      nvd · ssldump · debian · bookworm; nvd · ssldump · debian · 12

    • 1.5-1 · arm64 · bookworm

      Affected

      nvd · ssldump · debian · bookworm; nvd · ssldump · debian · 12

[Debian 13 (Trixie)]

  • [ssldump]Affected
    Details (2)
    • 1.9-1 · amd64 · trixie

      Affected

      nvd · ssldump · debian · 13

    • 1.9-1 · arm64 · trixie

      Affected

      nvd · ssldump · debian · 13

Observed:

References