CVE-2022-36752

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-36752
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-36752.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-36752
Published
2022-07-28T23:15:07.987Z
Modified
2025-11-14T13:32:44.860568Z
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
[none]
Details

png2webp v1.0.4 was discovered to contain an out-of-bounds write via the function w2p. This vulnerability is exploitable via a crafted png file.

References

Affected packages

Git / github.com/landfillbaby/png2webp

Affected ranges

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

Affected versions

v0.*

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

v1.*

v1.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "257396775687214481694734958701792234021",
            "length": 3897.0
        },
        "deprecated": false,
        "target": {
            "file": "png2webp.c",
            "function": "w2p"
        },
        "source": "https://github.com/landfillbaby/png2webp/commit/8f21ad79b0cd98fc22d5b49734543101946abbff",
        "id": "CVE-2022-36752-2075b0ce"
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "296203367386684341448128106689581529172",
                "101682138587600967817578234339854414486",
                "20167899722278216179282985729137497231",
                "41389817677904256036766040904786529038"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "target": {
            "file": "png2webp.c"
        },
        "source": "https://github.com/landfillbaby/png2webp/commit/8f21ad79b0cd98fc22d5b49734543101946abbff",
        "id": "CVE-2022-36752-5884b3c7"
    }
]