CVE-2019-19959

Source
https://cve.org/CVERecord?id=CVE-2019-19959
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19959.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-19959
Downstream
Related
Published
2020-01-03T22:15:12.550Z
Modified
2026-08-07T14:52:59.398382Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situations involving embedded '\0' characters in filenames, leading to a memory-management error that can be detected by (for example) valgrind.

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "canonical:ubuntu_linux",
            "source": "CPE_STRING",
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                },
                {
                    "introduced": "19.10"
                },
                {
                    "last_affected": "19.10"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/sqlite/sqlite

Affected ranges

Type
GIT
Repo
https://github.com/sqlite/sqlite
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:sqlite:sqlite:3.30.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.30.1"
        },
        {
            "last_affected": "3.30.1"
        }
    ]
}

Affected versions

3.*
3.30.1
version-3.*
version-3.30.1

Database specific

vanir_signatures_modified
"2026-08-07T14:52:59Z"
vanir_signatures
[
    {
        "target": {
            "function": "zipfileStep",
            "file": "ext/misc/zipfile.c"
        },
        "digest": {
            "length": 3477.0,
            "function_hash": "104339471913397942939802911122431979945"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2019-19959-431abe6e",
        "source": "https://github.com/sqlite/sqlite/commit/d8f2d46cbc9925e034a68aaaf60aad788d9373c1"
    },
    {
        "target": {
            "file": "ext/misc/zipfile.c"
        },
        "digest": {
            "line_hashes": [
                "71814066614843432280980704712041473121",
                "216645858504996865357112267072969184675",
                "239335266313309969182533178229610865249",
                "311079271625203409937280754956246384681",
                "121580900095085822418106151995070470985",
                "164197602074587106059057669333140638102",
                "129292076946546125971028062544365850448",
                "327556687166518588200911711471829254530",
                "313001803275392618590594638361048665402",
                "128213423916597175769527743849561227405",
                "60063495468950244746442318769766841350",
                "158794796601896323848342222817397211861"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2019-19959-59eebaea",
        "source": "https://github.com/sqlite/sqlite/commit/d8f2d46cbc9925e034a68aaaf60aad788d9373c1"
    },
    {
        "target": {
            "function": "zipfileUpdate",
            "file": "ext/misc/zipfile.c"
        },
        "digest": {
            "length": 3893.0,
            "function_hash": "59544577747646981207317814512786475191"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2019-19959-b8c3c9ae",
        "source": "https://github.com/sqlite/sqlite/commit/d8f2d46cbc9925e034a68aaaf60aad788d9373c1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19959.json"