CVE-2022-29788

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29788
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29788.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-29788
Downstream
Published
2022-06-02T14:15:51Z
Modified
2025-10-21T07:03:44.612022Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libmobi before v0.10 contains a NULL pointer dereference via the component mobibuffergetpointer. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted mobi file.

References

Affected packages

Git / github.com/bfabiszewski/libmobi

Affected ranges

Type
GIT
Repo
https://github.com/bfabiszewski/libmobi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.10
v0.2
v0.3
v0.4
v0.5
v0.6
v0.7
v0.8
v0.9

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/bfabiszewski/libmobi/commit/ce0ab6586069791b1e8e2a42f44318e581c39939",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-29788-10b0c300",
        "target": {
            "file": "src/index.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "9587912500244841242761623461993484356",
                "325609148742769093108696337493334546979",
                "313274351642807138481567418773480517342",
                "71992697451769064556460110470947014042"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/bfabiszewski/libmobi/commit/ce0ab6586069791b1e8e2a42f44318e581c39939",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-29788-f1fccef4",
        "target": {
            "function": "mobi_trie_insert_infl",
            "file": "src/index.c"
        },
        "digest": {
            "length": 682.0,
            "function_hash": "111361951981818957415269603156071108548"
        },
        "signature_type": "Function"
    }
]