Any plans to address known vulnerability identified in CVE-2026-13500 / BDSA-2026-17031? #4956
Replies: 6 comments 2 replies
|
Hi there,Can you point us to the specific line that is causing that alert?Kind regardsEnvoyé de mon iPhoneLe 20 juil. 2026 à 09:33, Rainer Podlas ***@***.***> a écrit :
Dear All,
We are using recent ANTLR4 4.13.2. Some weeks ago we have been informed (by a Blackduck vulnerability scan) about a severe weakness we need to address:
A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Are there any plans to resolve this vulnerability? If so, when will there be an update available?
Feedback is very much appreciated.
Thank you very much.
All the best, Rainer
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
|
Dear Eric,
It seems lines 39–47 are the problematic ones. The implementation in "buildNamedActions(Grammar g, Predicate filter)". Please let me know. All the best, |
|
Hi, thanks for this, the provided details are useful. As I understand it, here is the reasoning: Context:
Risk:
If the above correctly reflects the finding, then I'm not sure it's possible to address this security issue without breaking the product... |
|
Yeah I don't see how we could scrub those. Sorry!
…On Mon, Jul 20, 2026 at 5:59 AM Eric Vergnaud ***@***.***> wrote:
I guess the only way would be to create our own language for predicates
and simple actions. I don't see how we could possibly scrub code that uses
imports we don't have access to...
***@***.*** <https://github.com/parrt> I'm NOT proposing that we do that!!!)
—
Reply to this email directly, view it on GitHub
<#4956?email_source=notifications&email_token=AABLUWMIVT434UDDDVTDKA35FYJSZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGAYTONJUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17701754>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABLUWOAF4XAZ5XO3KW6RG35FYJSZAVCNFSNUABFKJSXA33TNF2G64TZHM2TAMJWHA3TWRDJONRXK43TNFXW4OZRGA2DMMBRGI42C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AABLUWO6LHJKWCBGLSVTF6D5FYJSZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGAYTONJUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/AABLUWJKFXGU5GMQH5YVPG35FYJSZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGAYTONJUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Dictation in use. Please excuse homophones, malapropisms, and nonsense.
|
|
Thank you all for your answers! So this threat is only real when using predicates or simple actions. I see that you cannot guarantee that no malicious code is injected by them. How about the possibility to "disable" them on demand (to run ANTLR without these features), so that users who do not need/use them are safe and can argue that? I am not so familiar with ANTLR, but what I have read online, users tend to advise against using action blocks and recommend using visitors and listeners instead... Have you actually been contacted by the reporter of the CVE record and have you shared your thoughts about it? (The ticket says: "The vendor was contacted early about this disclosure but did not respond in any way.") Maybe your thoughts and feedback can also help to downgrade the CVE? Just an idea... :-) All the best, |
Uh oh!
There was an error while loading. Please reload this page.
Dear All,
We are using recent ANTLR4 4.13.2. Some weeks ago we have been informed (by a Blackduck vulnerability scan) about a severe weakness we need to address:
A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Are there any plans to resolve this vulnerability? If so, when will there be an update available?
Feedback is very much appreciated.
Thank you very much.
All the best, Rainer
All reactions