{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-5305 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-5305 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-5305 is a medium-severity use after free vulnerability in Huawei Mate 10, published on 6 Jun 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-5305 and fix it if it is affected.\n\nWhat it is: CVE-2019-5305 is a medium-severity use after free vulnerability in Huawei Mate 10, published on 6 Jun 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-5305 in the wild and no public exploit code.\n\nAffected product: Huawei Mate 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-5305/ (Markdown: https://insights.sbomify.com/CVE-2019-5305/index.md)","id":"CVE-2019-5305","markdown":"https://insights.sbomify.com/CVE-2019-5305/index.md","name":"CVE-2019-5305","record":{"aliases":["GHSA-jj4j-prxw-rvrr"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei Mate 10","requires_auth":"none","summary":"A malicious application can trigger a double free in the image processing module, causing a system crash on Huawei Mate 10 devices.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"mate_10_firmware","vendor":"huawei"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"The image processing module of some Huawei Mate 10 smartphones versions before ALP-L29 9.0.0.159(C185) has a memory double free vulnerability. An attacker tricks a user into installing a malicious application, and the application can call special API, which could trigger double free and cause a system crash.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Use after free in Mate 10","id":"CVE-2019-5305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2019"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in P20","id":"CVE-2019-5306"},"packages":[],"prev":{"headline":"Denial of service in AR120-S;AR1200;AR1200-S;AR150;AR150-S;AR160;AR200;AR200-S;AR2200;AR2200-S;AR3200;AR3600;IPS Module;NGFW Module;NIP6300;NIP6600;NetEngine16EX;S5700;S6700;SRG1300;SRG2300;SRG3300;Secospace AntiDDoS8000;Secospace USG6300;Secospace USG6500;Secospace USG6600","id":"CVE-2019-5304"},"products":["Mate 10"],"published":"2019-06-06","related":[{"cvss_score":8.8,"headline":"Memory corruption in Mate 10","id":"CVE-2017-15311","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.8,"headline":"Use after free in HUAWEI Mate 10","id":"CVE-2018-7993","kev_date_added":null,"published":"2018-07-31"},{"cvss_score":7.8,"headline":"Memory corruption in Mate 10","id":"CVE-2017-17227","kev_date_added":null,"published":"2018-03-09"},{"cvss_score":6.2,"headline":"Privilege escalation in HUAWEI Mate 10;HUAWEI Mate 30;HUAWEI Mate 30 Pro;HUAWEI P40;HUAWEI P40 Pro","id":"CVE-2020-9119","kev_date_added":null,"published":"2020-12-24"},{"cvss_score":5.5,"headline":"Use after free in Huawei Mate10","id":"CVE-2019-5214","kev_date_added":null,"published":"2019-06-06"},{"cvss_score":5.5,"headline":"Use after free in Mate10","id":"CVE-2019-5219","kev_date_added":null,"published":"2019-06-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Huawei"]},"summary":"A malicious application can trigger a double free in the image processing module, causing a system crash on Huawei Mate 10 devices.","url":"https://insights.sbomify.com/CVE-2019-5305/"}