{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27821 exists.","fix":"No fix has been published for CVE-2026-27821 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-27821 is a high-severity memory corruption vulnerability in Gpac Gpac, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27821 and fix it if it is affected.\n\nWhat it is: CVE-2026-27821 is a high-severity memory corruption vulnerability in Gpac Gpac, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27821 exists.\n\nAffected product: Gpac Gpac. 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-2026-27821/ (Markdown: https://insights.sbomify.com/CVE-2026-27821/index.md)","id":"CVE-2026-27821","markdown":"https://insights.sbomify.com/CVE-2026-27821/index.md","name":"CVE-2026-27821","record":{"aliases":["DEBIAN-CVE-2026-27821","GHSA-q7qh-8r2r-q559","UBUNTU-CVE-2026-27821"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GPAC multimedia framework","requires_auth":"none","summary":"A stack buffer overflow in GPAC's NHML demuxer allows attackers to execute arbitrary code or cause denial of service via crafted files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gpac","vendor":"gpac"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"GPAC is an open-source multimedia framework. In versions up to and including 26.02.0, a stack buffer overflow occurs during NHML file parsing in `src/filters/dmx_nhml.c`. The value of the xmlHeaderEnd XML attribute is copied from att-\u003evalue into szXmlHeaderEnd[1000] using strcpy() without any length validation. If the input exceeds 1000 bytes, it overwrites beyond the stack buffer boundary. Commit 9bd7137fded2db40de61a2cf3045812c8741ec52 patches the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","id":"CVE-2026-27821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gpac:gpac","products":["gpac:gpac"],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover","id":"CVE-2026-27822"},"packages":[],"prev":{"headline":"zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption","id":"CVE-2026-27820"},"products":["gpac"],"published":"2026-02-26","related":[{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2023-46427","kev_date_added":null,"published":"2024-03-09"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2023-46932","kev_date_added":null,"published":"2023-12-09"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2022-36190","kev_date_added":null,"published":"2022-08-17"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2021-28300","kev_date_added":null,"published":"2021-04-14"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-11558","kev_date_added":null,"published":"2020-04-05"},{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2020-19751","kev_date_added":null,"published":"2021-09-07"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2023-46426","kev_date_added":null,"published":"2024-03-09"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["gpac"]},"summary":"A stack buffer overflow in GPAC's NHML demuxer allows attackers to execute arbitrary code or cause denial of service via crafted files.","url":"https://insights.sbomify.com/CVE-2026-27821/"}