POJIA破甲
地图 / 37: `curl_mprintf` `%F` format specifier not consumed, causing variadic argument desynchronization

37: `curl_mprintf` `%F` format specifier not consumed, causing variadic argument desynchronization

内存破坏 / 类型混淆 / #3973152

厂商
curl
严重程度
未评级
赏金
—
弱点
类型混淆
研究员
@giant_anteater
披露日期
2026-09-14
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(6747 字符中的一小部分)
`docs/libcurl/curl_mprintf.md` documents `%F` as a conversion that consumes a `double`, alongside `%f`. However, `parse_conversion()` in `lib/mprintf.c` has no `F` case — it falls through to the default branch and returns without assigning an input slot. In a sequential format like `"%F%s"`, the …
原文中的代码
case 'f':
  type = MTYPE_DOUBLE;
  break;
// ... e, E, g, G handled ...
default:
  /* invalid instruction, disregard and continue */
  return TRUE;

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有

同类报告

Image queue default key of 'None' and GraphQL unhandled type exceptionReddit · 2021-10-27 · $500GnuTLS CURLINFO_TLS_SESSION / CURLINFO_TLS_SSL_PTR type confusioncurl · 2025-07-23Incorrect Type Conversion in interpreting IPv4-mapped IPv6 addresses and below `curl` results in indeterminate SSRF vulnerabilities.curl · 2024-05-08Insufficient Type Check leading to Developer ability to delete Project, Repository, Group, ...GitLab · 2020-11-02 · $5,000Incorrect Encoding Conversion in hostname results in indeterminate SSRF vulnerabilitiescurl · 2024-06-18Connector/ODBC SQLGetDescRec treats descriptor handle as statement handle, heap OOB write on every callMariaDB · 2026-11-04