CVE-2023-4255

Source
https://cve.org/CVERecord?id=CVE-2023-4255
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4255.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-4255
Downstream
Related
Published
2023-12-21T16:08:39.691Z
Modified
2026-07-21T23:56:44.297898Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)
Details

An out-of-bounds write issue has been discovered in the backspace handling of the checkType() function in etc.c within the W3M application. This vulnerability is triggered by supplying a specially crafted HTML file to the w3m binary. Exploitation of this flaw could lead to application crashes, resulting in a denial of service condition.

Database specific
{
    "cwe_ids": [
        "CWE-787"
    ],
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4255.json"
}
References

Affected packages

Git / github.com/tats/w3m

Affected ranges

Type
GIT
Repo
https://github.com/tats/w3m
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:tats:w3m:0.5.3\\+git20230121-1:*:*:*:*:*:*:*",
        "cpe:2.3:a:tats:w3m:0.5.3\\+git20230121-2:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0.5.3+git20230121-1"
        },
        {
            "last_affected": "0.5.3+git20230121-1"
        },
        {
            "introduced": "0.5.3+git20230121-2"
        },
        {
            "last_affected": "0.5.3+git20230121-2"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.5.3+git20230121-1
0.5.3+git20230121-2

Database specific

vanir_signatures_modified
"2026-07-21T23:56:44Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 5123.0,
            "function_hash": "295724129922167229010520669919116639190"
        },
        "signature_version": "v1",
        "source": "https://github.com/tats/w3m/commit/edc602651c506aeeb60544b55534dd1722a340d3",
        "id": "CVE-2023-4255-6dcfb28a",
        "target": {
            "function": "checkType",
            "file": "etc.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26460203148569538143327425248504244236",
                "57830455825382049290991589887607861603",
                "310247818144009291104860925577274623094",
                "13455033645732134721802913651060951318",
                "26460203148569538143327425248504244236",
                "290663834867585646756821739283586001902",
                "126908091885490007136439083806724560939",
                "288785725841290717425727131037118380981"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/tats/w3m/commit/edc602651c506aeeb60544b55534dd1722a340d3",
        "id": "CVE-2023-4255-dab19ff2",
        "target": {
            "file": "etc.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4255.json"