CVE-2026-111458

Source
https://cve.org/CVERecord?id=CVE-2026-111458
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111458.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-111458
Downstream
Published
2026-10-16T05:24:43Z
Modified
2026-10-17T07:06:49Z
Severity
  • 6.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ssldump Heap Buffer Overflow in FAN/1 X.509 Fingerprint Formatting
Details

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.

Database specific
{
    "cna_assigner":  "CIRCL",
    "cwe_ids":  [
        "CWE-122",
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111458.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "last_affected":  "1.9.0"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/adulau/ssldump

Affected ranges

Type
GIT
Repo
https://github.com/adulau/ssldump
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source":  "REFERENCES"
}

Affected versions

v1.*
v1.0
v1.1
v1.2
v1.3
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111458.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "510039385989487037045728603664280697",
                "127990277942465140663423377865012603207",
                "124647905535989963762321317946188733745",
                "332072285688844344409105221852350299799",
                "165716255764989808248722316343214024569",
                "139945216499888525121592812304512438246",
                "189145275945414593368308607797664175991",
                "190391138778396386108148741691859217834",
                "185876719717789322895824523901742620722",
                "90483806019768471015910088913228624311",
                "171151310683951189196588309746972149468",
                "142863992975236173410592642794980467183"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-111458-386aa67e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/adulau/ssldump/commit/8ad55683cc0186600c085d33be5a5b627db78467",
        "target":  {
            "file":  "ssl/sslxprint.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "319792200987144428493942530647831894765",
            "length":  402
        },
        "id":  "CVE-2026-111458-7bae3a19",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/adulau/ssldump/commit/8ad55683cc0186600c085d33be5a5b627db78467",
        "target":  {
            "file":  "ssl/sslxprint.c",
            "function":  "fanx_fingerprint"
        }
    }
]
vanir_signatures_modified
"2026-10-17T07:06:49Z"