Critical CVE issued for hallucinated SQLite vulnerability

(research.jfrog.com)

182 points | by ymir_e an hour ago ago

53 comments

  • gste a minute ago

    > The cited code didn't even exist in those versions or referenced unrelated logic. > When testing the PoC payloads they didn’t work (not triggering any crash).

    I think the future is pretty obvious, if this isn't being done on projects already: you need to automate these checks and reject automatically

  • ChrisMarshallNY an hour ago

    The problem with this kind of thing, is that it reduces the S/N (Signal-to-Noise) ratio, so weeding out the legit CVEs becomes a lot more difficult.

    But, on the other hand, I do know that LLMs have been discovering a lot of legit CVEs, and I will lay odds that the blackhats are leveraging them to the max.

    • flerchin 21 minutes ago

      The vast majority of CVEs are not exploitable, basically noise. I suspect that the overwhelming majority of the CVEs being generated by LLMs are either noise of the sort in the linked article or noise of the sort that is not exploitable.

      • cogman10 4 minutes ago

        This is what I truly don't like about the CVE system.

        One such example is CVE-2023-45853 [1]. Zlib included in it's source an extra set of utilities and add-ons. One such utility, MiniZip, had a buffer overflow vulnerability. BAM, 8.8 CVE (was a 9, looks like they pulled it back a bit). But not one that the 99% of applications using zlib would ever be vulnerable to because almost nobody used the MiniZip utility. It was so unused that the solution for zlib was to simply remove it.

        I know about this one particularly because our security policy required us to do a BUNCH of pointless updates for it since zlib is in just about everything.

        [1] https://app.opencve.io/cve/CVE-2023-45853

      • bluGill 5 minutes ago

        The majority these days seems to be real issues, but probably not exploitable. The latest LLMs are very good at reading code and finding issues where the code is wrong. They are somewhat less good at finding exploits - both because finding exploits is harder than finding code that is clearly wrong (even if not exploitable), and also because the better ones are intentionally made to not create exploits (since they don't know if you are a good or bad - they assume bad.

        However if I was writing this response just one year ago I would instead be saying: the majority off LLM CVS are noise where the code is correct, and often they are writing up for code that doesn't even exist.

        Which is to say I suspect the repo in question was generated with a year-old LLM, since they act like that. The new ones [mostly?] are much better.

        Still, if a modern LLM points out something you should fix it. Even if we can't figure out how to exploit it today that doesn't mean we won't figure it out in the future.

    • ymir_e an hour ago

      It seems like we're in a transition period where AI will eventually make all software much more secure than it ever was.

      In this period every part of offense and defensive cyber security changes quite rapidly.

      Noisy CVEs will probably lead to agents verifying vulnerabilities before humans review them.

      The problem with agent reviews from what I can think of is:

      - cost to use LLMs to review things

      - not necessarily easy to plug-and-play in repos: (domain knowledge + how to look for vulnerability specifically for the stack)

      - especially with anthropic: able to use models defensively, without hitting guardrails.

      The last one is the most interesting one to me. How does the AI providers know if you're a "good or bad" guy? And does it matter if open source is catching up?

      We're in a kind of cyber arms race wether we like it or not.

      • rghammt 35 minutes ago

        Currently we either get AI promo vulnerability dumps like from Chrome with pretty graphs that no one checks or false positives.

        Where is this one now that was hyped everywhere?

        https://news.ycombinator.com/item?id=49133889

        The GitHub submitter could no longer reproduce the issue and the LKML post has no replies:

        https://lore.kernel.org/all/CALCETrXbj__SFQMzPZhES5y6-sh4np-...

        • bluGill 3 minutes ago

          All the big maintainers I know of disagree. Curl for example is getting overwhelmed with real issues that LLMs are finding. A year ago most LLM found issues where false positives (the code is correct), or hallucinations (the code in question doesn't even exist) - but that has changed and now LLMs are finding real issues in code. Many different projects have reported the same rules.

  • firesteelrain 5 minutes ago

    > This incident demonstrates a systemic issue with automated vulnerability ingestion

    But they make X-Ray which does automated vulnerability indexing and matching dependencies to CVEs.

  • inigyou an hour ago

    This is going to be fun for organizations that are mandated to patch all CVEs, isn't it?

    • lucideer an hour ago

      I'm very curious what organisations would have such a policy. I can't imagine it being viable for any size of org without significant self-deception (or banning the use of all open source at which point CVEs are moot anyway).

      • traceroute66 25 minutes ago

        > I'm very curious what organisations would have such a policy.

        I would humbly suggest any org of any size that has insurance cover that covers anything tech related (e.g. data loss/recovery, cyber etc.) has a very good look at the small print.

        Over the last few years insurers have aggressively been adding "no vulnerability patch, no claim" exclusion clauses.

      • clbrmbr an hour ago

        Many orgs (esp w ISO27000) have a vulnerability management policy that involves patching at least critical CVEs within a short timeline. Tools like trivvy make it possible to do the scans…

        • lucideer 32 minutes ago

          I've been in such an org, & I've led initiatives to set up automated detection at very large scale. We started by issuing tickets to teams to resolve CVEs within varying timelines - ranging from a 24hr fix to 6 months - connected to the CVSS score. It wasn't viable.

          - Firstly, you quickly realise how irrelevant CVSS scores are - initiatives like First's EPSS are designed to fix this but they aren't there yet

          - Secondly, you need to begin implementing localised heuristics to determine exploitable code paths. This has generally been incredibly difficult to do reliably - LLMs have started to make it easier, but it's expensive.

          - Lastly, you need to factor in consideration of actionable remediation pathways. A dependency upgrade for critical infrastructure might contain breaking changes that take months to fix, or two competing CVEs might be present in interdependent versions of transitive dependencies in your sbom tree.

          Most orgs aren't applying any of the above three filters to reduce their CVE remediation burden, & even if they are, it's still too high to make zero a viable target.

          In reality, most orgs aren't doing comprehensive detection to begin with - if you haven't discovered all of your CVEs, your remediation burden is going to be a lot more manageable.

          • mr_mitm 18 minutes ago

            > - Firstly, you quickly realise how irrelevant CVSS scores are

            Even if you factor in the environmental score? I realize it's a lot more work, but it basically allows you to tune the score to get any value you want.

        • dwedge 11 minutes ago

          > Tools like trivvy make it possible to do the scans...

          Only if you didn't rip trivvy out of your organisation when it had two supply chain compromises within a month of each other earlier this year

      • anygivnthursday an hour ago

        If I remember correctly, we had to patch or provide justification for CVEs flagged by tools like AWS Inspector for SOC2 as well.

        • YeahThisIsMe 42 minutes ago

          So you didn't have to patch all of them.

      • jeltz 29 minutes ago

        Many large organizations like banks have requirements like this and they solve it through a mix of automatic scanners, e.g. Trivvy, and self-deception as not all systems are actually scanned in any sufficiently large org.

      • SirFatty an hour ago

        ITAR

        • lucideer 44 minutes ago

          ITAR has no such hard requirements. Might be some orgs that tell themselves they're attempting this under ITAR but they're not doing it in any comprehensive way.

          The only thing within ITAR that I'm aware of concerning itself with software supply chain is SP 800-218 requirements & that's just a load of open-to-interpretation weasel words about having CVE detection & automations in place & some defined plans for reducing the number of vulns. Pretty sure that component of it is even eligible for self-assessment.

    • dns_snek 3 minutes ago

      [delayed]

    • ymir_e an hour ago

      This was my first thought, this could be terrible if used offensively.

      The best defense I can imagine is to have an agent reproduce the issues before a human sees it, but even that will cost money.

    • whatevaa an hour ago

      Those organizations will have to adapt to new reality, ie, that some CVEs are not real.

      • afarah1 4 minutes ago

        Nothing new about that

    • cleansy an hour ago

      All organisations also have exceptions to policies. This one would be one

      • jeltz 27 minutes ago

        Yes, but getting an exception approved can be a huge pain in some places.

      • inigyou 29 minutes ago

        You'd be surprised...

    • smitty1110 an hour ago

      It’s honestly not great. The security guys are completely exasperated at my job, we’re wasting time having with these. You take the scam really, investigate for a bit, write up a DNF with justification, they go and up date records, and we all just kinda hope that someone updates the scans so it stops showing up.

      Something is going to give, and I suspect that the optimistic open filling is going to get canceled.

    • lelanthran 20 minutes ago

      Not really. LLMs can hallucinate the patches too :-)

    • ape4 an hour ago

      Create the referenced but non existent file and then fix it /s

  • gortok 6 minutes ago

    We can chalk this up as another example of over-exhuberance by what folks believe LLMs can accomplish vs. what they actually are.

    LLM-based “AI” is able to use its vast corpus of inputs and calculate the most statistically likely output in a given situation. It is probabilistic, and when you are dealing with probabilities in a situation where certainties, not probabilities, matter, you’re going to get dinged on credibility massively when your LLM-based “AI” gets the probabilities wrong at best, or in this case, claims a line of code generates a vulnerability when it is, in fact, a code comment.

    LLMs are text-prediction engines. They are not Artificial Intelligence, and shouldn’t not be treated in any form or fashion as if they possess intelligence. What bothers me about this entire situation is that presumably the folks that relied on the LLM-based “AI” to generate these vulnerabilities knew (or should have known) enough about their tool to know this would happen, but did not.

    Now, we all pay the consequence, to the tune of hundreds of thousands if not millions of dollars of wasted productivity from teams that have to deal with the resulting fall-out of this usage of “AI”.

  • Ekaros an hour ago

    Not validating submissions seems like avenue for massive attack. Flood the whole system with endless false reports. Thus making it significantly less reliable.

    • masklinn 32 minutes ago

      That is exactly why many big projects are migrating to becoming CNA, so that randos can’t get assigned unqualified CVEs which nobody has looked at or validated.

      Apparently RedHat is a CNA of last resort, so it might be possible to get your project under Redhat’s scope and go through them without having to be a CNA yourself.

    • insanitybit 39 minutes ago

      This is what the Linux kernel is currently attempting since becoming a CNA. edit: "This" being to sabotage the CVE system via DoS, to be clear.

      • inigyou 7 minutes ago

        What do you mean? It isn't a DoS to assign every single bug fix a CVE! Every single bug is making someone vulnerable in some way.

        • worthless-trash a few seconds ago

          > What do you mean?

          No analysis is being done in the linux kernel to assess vulnerability.

          > It isn't a DoS to assign every single bug fix a CVE!

          On people who care about this, it is, not in the project itself though.

          > Every single bug is making someone vulnerable in some way.

          Not every bug is making someone vulnerable. (docs bugs, test bugs) behavioral changes, performance improvements, the list goes on.

    • delfinom 24 minutes ago

      It's been a problem for awhile. Daniel Stenberg has talked about it numerous times on his/curl's blog for the last 4 years. They became their own CNA to try and control it, they opened a hackerone with rewards, but now removed the rewards because it got flooded with AI generated slop daily.

      https://daniel.haxx.se/blog/2023/08/26/cve-2020-19909-is-eve... https://daniel.haxx.se/blog/2024/01/16/curl-is-a-cna/ https://daniel.haxx.se/blog/2025/04/24/how-the-cna-thing-is-...

      • fabioborellini 10 minutes ago

        And this year, some of the reports suddenly got good and meaningful. https://daniel.haxx.se/blog/2026/04/22/high-quality-chaos/

        So the agents started doing something useful after a period of filling mailing lists and bug bounties with slop. Sound good, but that's not entirely a good thing. The volume of good reports is a burden as well, and it's likely that long-lasting open source C/C++ projects have legitimate vulnerabilities unpatched. But we don't have any new maintainers, I think.

  • fl1pper 3 minutes ago

    Great article!

    We need to further emphasize the importance of responsibility when using LLM tools to produce output for others. It's great to use them for refactoring and bug discovery, but keep in mind that it's your responsibility to analyze it and iterate on it with AI. It makes your code better and develops technical expertise.

    The "Hey, analyze that codebase, find all dangerous CVEs, and write a README for the PoCs, so I can post it online for others to analyze, and if I'm lucky, I'll get a paycheck or a title to add to my resumé" approach might work in 0.1% of cases, but it will generate a ton of slop for the community to drown in.

    I also think GPTZero and other AI detectors have far more false positives than correct guesses. I tried it on several texts & messages I wrote before 2019, and it flagged them as 80% AI-generated.

    In that case, it's reasonable to assume that AI also generated the README text for each discovered CVE. In other cases, however, we should be more cautious.

  • trashb 25 minutes ago

    Could be just me but I would be quite careful running these PoC's, especially since the CVE's mostly seem nonsensical. I suppose these CVE's could be targeting some kind of PoC execution instead of actual bug reporting? (I didn't look at the code in depth).

    Why is the repo even mixing CVE's for "schreibfaul1 ESP32-audioI2S" and "SQLite"? Is mixing CVE's for different products in one repo common practice?

  • kasperset 11 minutes ago

    As a non-expert in this field, I feel we have introduced more “stochasticity”. Before, We had to deal with some human error/ misunderstanding for most part but now we have to deal with power of condensed human expertise along with homogenized flaws.

  • Spide_r an hour ago
  • sabot90260 35 minutes ago

    A critical rating on a vuln that doesn't exist is wild. The triage cost still lands on the maintainers.

  • dvh an hour ago

    You're absolutely right...

  • trueno 32 minutes ago

    just ran this article that ran a cve through gptzero.. through gptzero

    -GPTZero AI Detection

    -Model 4.8b

    -We are moderately confident this text is a mix of AI and human

    -63/88 Sentences likely AI generated

  • account42 28 minutes ago

    The irony of writing an article about slop reports and then defacing it with a giant unrelated slop image at the top.

    • pelasaco 15 minutes ago

      I had the impression that the code review done and text formatting by the jfrog was mostly driven by Claude too..

  • throwa356262 35 minutes ago

    In the mean time, my very real vulnerability reports are not even acknowledged because maintainers are busy handling this kind of nonsense.

  • mlvljr an hour ago

    Honest take, this is a critical CVE.

    • awkwardpotato 23 minutes ago

      How so? All 6 of the CVEs covered in the article did not actually exist when investigated

      • mahogany 8 minutes ago

        The comment is making fun of a Claude-ism where it becomes super “honest” about stuff.

        It’s a joke but there is an underlying real effect where this type of language is psychologically manipulative and I would guess makes people believe LLMs output more than if it didn’t use “honest” (or “load bearing” or whatever super serious important sounding word).

  • progval an hour ago

    > All advisories in this repo seem AI generated when testing them with Gptzero

    I pasted this blog post from "Analysis Matrix" to the end in Gptzero, and it also says the blog post was AI-generated (71% chance of AI, 29% chance of AI-Human mix).