CVE-2023-45853

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-45853
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-45853.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-45853
Aliases
Downstream
Related
Published
2023-10-14T02:15:09Z
Modified
2025-10-16T10:14:31.719486Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. NOTE: pyminizip through 0.2.6 is also vulnerable because it bundles an affected zlib version, and exposes the applicable MiniZip code through its compress API.

References

Affected packages

Git / github.com/madler/zlib

Affected ranges

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

Affected versions

v0.*

v0.71
v0.79
v0.8
v0.9
v0.91
v0.92
v0.93
v0.94
v0.95
v0.99

v1.*

v1.0-pre
v1.0.1
v1.0.2
v1.0.4
v1.0.5
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.0.1
v1.2.0.2
v1.2.0.3
v1.2.0.4
v1.2.0.5
v1.2.0.6
v1.2.0.7
v1.2.0.8
v1.2.1
v1.2.1.1
v1.2.1.2
v1.2.10
v1.2.11
v1.2.12
v1.2.13
v1.2.2
v1.2.2.1
v1.2.2.2
v1.2.2.3
v1.2.2.4
v1.2.3
v1.2.3.1
v1.2.3.2
v1.2.3.3
v1.2.3.4
v1.2.3.5
v1.2.3.6
v1.2.3.7
v1.2.3.8
v1.2.3.9
v1.2.4
v1.2.4-pre1
v1.2.4-pre2
v1.2.4.1
v1.2.4.2
v1.2.4.3
v1.2.4.4
v1.2.4.5
v1.2.5
v1.2.5.1
v1.2.5.2
v1.2.5.3
v1.2.6
v1.2.6.1
v1.2.7
v1.2.7.1
v1.2.7.2
v1.2.7.3
v1.2.8
v1.2.9
v1.3

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "215690993403917231272694230425219987002",
                "7019122414051018615790014750645896555",
                "255906567231977922390158965099391548767",
                "2979242068947975725579226479034357614",
                "183751973083521201577729731315703301636",
                "248844941626262695281549603824626887338",
                "320788635962490165830021216345105451853",
                "139412783718332547720366439434782111756"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "contrib/infback9/inftree9.c"
        },
        "deprecated": false,
        "source": "https://github.com/madler/zlib/commit/51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf",
        "signature_version": "v1",
        "id": "CVE-2023-45853-25ba5c2b"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "146082642291687623367597030759784561315",
                "152050153557000594638610353463892202290",
                "167871161695338292225404021815429421053",
                "226964300907398093233119743133210393617",
                "210714638011015966034035419241960876875",
                "299788994572251005544425986055084261218",
                "278248442459515735326130533085265985381",
                "222024272414522711481295922899227189988"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "inftrees.c"
        },
        "deprecated": false,
        "source": "https://github.com/madler/zlib/commit/51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf",
        "signature_version": "v1",
        "id": "CVE-2023-45853-6a37fcaf"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "178093991456060150070942589027539997666",
                "67123618263193801280741285694335332119",
                "140132922840055513513963220051526309244"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "deflate.c"
        },
        "deprecated": false,
        "source": "https://github.com/madler/zlib/commit/51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf",
        "signature_version": "v1",
        "id": "CVE-2023-45853-b4d1ee7a"
    }
]