OSV-2024-1343 Container-overflow in glslang::HlslParseContext::decomposeIntrinsic

Not scored Published

A container overflow in the glslang library allows attackers to cause a denial of service via crafted HLSL input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2024-1343?

OSV-2024-1343 is a memory corruption vulnerability in shaderc, published on 27 Nov 2024.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=380569852

Crash type: Container-overflow READ 8
Crash state:
glslang::HlslParseContext::decomposeIntrinsic
glslang::HlslParseContext::handleFunctionCall
glslang::HlslGrammar::acceptFunctionCall

Which versions are affected by OSV-2024-1343?

1 open source package ship an affected version, including shaderc.

PackageAffectedFixed in
shaderc OSS-FuzzAll versionsNone

How do I fix OSV-2024-1343?

No fix has been published for OSV-2024-1343 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2024-1343 being exploited?

There is no known exploitation of OSV-2024-1343 in the wild and no public exploit code.

Sources

Is OSV-2024-1343 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free